Mercurial > pidgin
diff libpurple/protocols/gg/lib/libgadu.c @ 29544:818f2845ab47
Finish making libgadu compile on Windows. Fixes #10542 finally!
committer: John Bailey <rekkanoryo@rekkanoryo.org>
author | kkszysiu@gmail.com |
---|---|
date | Sat, 06 Mar 2010 16:51:30 +0000 |
parents | db6735e579f8 |
children | 0665d7eff0a3 |
line wrap: on
line diff
--- a/libpurple/protocols/gg/lib/libgadu.c Sat Mar 06 16:33:10 2010 +0000 +++ b/libpurple/protocols/gg/lib/libgadu.c Sat Mar 06 16:51:30 2010 +0000 @@ -29,6 +29,7 @@ */ #include "libgadu.h" +#include "libgadu-config.h" #include "libgadu-internal.h" #include <sys/types.h> @@ -411,8 +412,7 @@ { struct gg_header h; char *buf = NULL; - int ret = 0; - unsigned int offset, size = 0; + int ret = 0, offset, size = 0; gg_debug_session(sess, GG_DEBUG_FUNCTION, "** gg_recv_packet(%p);\n", sess); @@ -609,7 +609,7 @@ h->length = gg_fix32(tmp_length - sizeof(struct gg_header)); if ((gg_debug_level & GG_DEBUG_DUMP)) { - unsigned int i; + int i; gg_debug_session(sess, GG_DEBUG_DUMP, "// gg_send_packet(0x%.2x)", gg_fix32(h->type)); for (i = 0; i < tmp_length; ++i)