pidgin: bd005861: This fixes this compile warning:

nosnilmot at pidgin.im nosnilmot at pidgin.im
Thu Jul 9 21:55:36 EDT 2009


-----------------------------------------------------------------
Revision: bd005861cf3abdbc22c2cbbc9e207663d787b069
Ancestor: 3094df9b8dc017f4257b1b54d175e841cbd6e6ce
Author: nosnilmot at pidgin.im
Date: 2009-07-10T01:48:32
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bd005861cf3abdbc22c2cbbc9e207663d787b069

Modified files:
        libpurple/util.c

ChangeLog: 

This fixes this compile warning:
util.c:4052: warning: passing argument 2 of 'process_chunked_data' from incompatible pointer type
util.c:3861: note: expected 'gsize *' but argument is of type 'long unsigned int *'

Someone could do with checking our use of various different types (gsize,
gssize, unsigned long, I forget what else) throughout the url parsing and
retrieving things.

-------------- next part --------------
============================================================
--- libpurple/util.c	b1d6a0bd8339bec1811ef67a7705e85c7f56564d
+++ libpurple/util.c	269ff383089a8544413ea03e57b07654df5e5ade
@@ -65,7 +65,7 @@ struct _PurpleUtilFetchUrlData
 	gboolean got_headers;
 	gboolean has_explicit_data_len;
 	char *webdata;
-	unsigned long len;
+	gsize len;
 	unsigned long data_len;
 	gssize max_len;
 	gboolean chunked;


More information about the Commits mailing list