libpurple/protocols/mxit/actions.c

branch
soc.2008.masterpassword
changeset 34148
62a874e41930
parent 34145
fa72f1e5cd77
parent 33852
368feedc80cf
child 34149
e3bf63099176
--- a/libpurple/protocols/mxit/actions.c	Thu Mar 28 11:20:10 2013 +0100
+++ b/libpurple/protocols/mxit/actions.c	Fri Apr 26 12:27:23 2013 +0200
@@ -23,8 +23,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
 
-#include    "internal.h"
-#include	"purple.h"
+#include	"internal.h"
+#include	"debug.h"
+#include	"request.h"
 
 #include	"protocol.h"
 #include	"mxit.h"
@@ -186,7 +187,7 @@
 			profile->flags &= ~CP_PROF_NOT_SUGGESTABLE;
 		else
 			profile->flags |= CP_PROF_NOT_SUGGESTABLE;
-		g_snprintf( attrib, sizeof( attrib ), "\01%s\01%i\01%i", CP_PROFILE_FLAGS, CP_PROFILE_TYPE_LONG, profile->flags);
+		g_snprintf( attrib, sizeof( attrib ), "\01%s\01%i\01%" G_GINT64_FORMAT, CP_PROFILE_FLAGS, CP_PROFILE_TYPE_LONG, profile->flags);
 		g_string_append( attributes, attrib );
 		acount++;
 

mercurial