libpurple/protocols/mxit/actions.c

branch
mxit-2.x.y
changeset 33848
07ffa66fd57b
parent 33203
8072411a68c1
parent 33844
e8edfd4e26ae
--- a/libpurple/protocols/mxit/actions.c	Wed Mar 27 01:37:02 2013 +0200
+++ b/libpurple/protocols/mxit/actions.c	Wed Apr 03 11:21:06 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