/pidgin/main: 4c586de55004: libgadu: pick an upstream patch to f...
Tomasz Wasilczyk
twasilczyk at pidgin.im
Tue Mar 25 22:13:59 EDT 2014
Changeset: 4c586de5500443bf6ab0f4bfd7170a9857f5faf1
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-03-26 03:13 +0100
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/4c586de55004
Description:
libgadu: pick an upstream patch to fix warnings
diffstat:
libpurple/protocols/gg/lib/internal.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (27 lines):
diff --git a/libpurple/protocols/gg/lib/internal.h b/libpurple/protocols/gg/lib/internal.h
--- a/libpurple/protocols/gg/lib/internal.h
+++ b/libpurple/protocols/gg/lib/internal.h
@@ -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) \
More information about the Commits
mailing list