pidgin: 9d595f88: Make MXit compile in a mingw cross-compi...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Tue Jul 27 11:17:56 EDT 2010


----------------------------------------------------------------------
Revision: 9d595f880c678cec5d1337783f6c0c2b0ac53677
Parent:   884574f32e2eda3fe38542cd09b076eb3cb54af1
Author:   rekkanoryo at pidgin.im
Date:     07/27/10 11:10:30
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d595f880c678cec5d1337783f6c0c2b0ac53677

Changelog: 

Make MXit compile in a mingw cross-compile environment.

Changes against parent 884574f32e2eda3fe38542cd09b076eb3cb54af1

  patched  libpurple/protocols/mxit/profile.c
  patched  libpurple/protocols/mxit/profile.h

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/profile.c	75f372b3d0be740d5e9c49d012241b68dcb6e8ad
+++ libpurple/protocols/mxit/profile.c	514add484cd83bdc2c31aea85112ee4c0ae16f5c
@@ -106,7 +106,7 @@ gboolean validateDate( const char* bday 
  * @param msecs		The timestamps (milliseconds since epoch)
  * @return			Date & Time in a display'able format.
  */
-static const char* datetime( int64_t msecs )
+static const char* datetime( gint64 msecs )
 {  
     time_t secs = msecs / 1000;
 
============================================================
--- libpurple/protocols/mxit/profile.h	c6c1ab2a4bb1658bffb653259c5b6917e19e9fd9
+++ libpurple/protocols/mxit/profile.h	983365e386e44a7ee1844ad8566ff8ccb71b535a
@@ -44,8 +44,8 @@ struct MXitProfile {
 	char		email[64];							/* user's email address */
 	char		mobilenr[21];						/* user's mobile number */
 	char		regcountry[3];						/* user's registered country code */
-	int64_t		flags;								/* user's profile flags */
-	int64_t		lastonline;							/* user's last-online timestamp */
+	gint64		flags;								/* user's profile flags */
+	gint64		lastonline;							/* user's last-online timestamp */
 
 	gboolean	hidden;								/* set if the user's msisdn should remain hidden */
 };


More information about the Commits mailing list