pidgin/pidgin

libgadu: pick an upstream patch to fix warnings
release-2.x.y
2014-03-26, Tomasz Wasilczyk
4c586de55004
Parents c7a49364ce5f
Children d90854f1bb0f
libgadu: pick an upstream patch to fix warnings
--- a/libpurple/protocols/gg/lib/internal.h Wed Mar 26 03:01:13 2014 +0100
+++ b/libpurple/protocols/gg/lib/internal.h Wed Mar 26 03:13:50 2014 +0100
@@ -28,17 +28,20 @@
#ifdef _WIN32
# define GG_SIZE_FMT "Iu"
+# define _GG_INT64_MODIFIER "I64"
#else
# define GG_SIZE_FMT "zu"
+# define _GG_INT64_MODIFIER "ll"
#endif
+
#ifndef PRIu64
-# define PRIu64 "llu"
+# define PRIu64 _GG_INT64_MODIFIER "u"
#endif
#ifndef PRIx64
-# define PRIx64 "llx"
+# define PRIx64 _GG_INT64_MODIFIER "x"
#endif
#ifndef PRId64
-# define PRId64 "lld"
+# define PRId64 _GG_INT64_MODIFIER "d"
#endif
#define GG_LOGIN_PARAMS_HAS_FIELD(glp, member) \