Mercurial > pidgin
diff libpurple/nat-pmp.c @ 26925:e45fe73b47e3
Fix two warnings when building on OS X
slplink.c: In function ¡Æmsn_slplink_process_msg¡Ç:
slplink.c:596: warning: format ¡Æ%lu¡Ç expects type ¡Ælong unsigned int¡Ç, but argument 4 has type ¡Æguint64
nat-pmp.c: In function ¡Ædefault_gw¡Ç:
nat-pmp.c:203: warning: format ¡Æ%i¡Ç expects type ¡Æint¡Ç, but argument 3 has type ¡Æsize_t¡Ç
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 21 May 2009 05:56:53 +0000 |
parents | 584063555949 |
children | f1437342cc0e |
line wrap: on
line diff
--- a/libpurple/nat-pmp.c Thu May 21 04:49:40 2009 +0000 +++ b/libpurple/nat-pmp.c Thu May 21 05:56:53 2009 +0000 @@ -200,7 +200,7 @@ if (!(buf = malloc(needed))) { - purple_debug_warning("nat-pmp", "Failed to malloc %i\n", needed); + purple_debug_warning("nat-pmp", "Failed to malloc %" G_GSIZE_FORMAT "\n", needed); return NULL; }