pidgin: d92d8e71: Fix two int/size_t format build warnings..

paul at darkrain42.org paul at darkrain42.org
Sat Apr 11 19:05:46 EDT 2009


-----------------------------------------------------------------
Revision: d92d8e71737a06feb5405d37aebe3a2c50dfd933
Ancestor: 8cc20b5b5338ad061e1fc40dcf7f7da9337520b7
Author: paul at darkrain42.org
Date: 2009-04-11T21:54:06
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d92d8e71737a06feb5405d37aebe3a2c50dfd933

Modified files:
        libpurple/protocols/yahoo/yahoo.c
        libpurple/protocols/yahoo/yahoo_filexfer.c

ChangeLog: 

Fix two int/size_t format build warnings on 64-bit

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	7290efca433dd7c03af91603ee3a0fd588a1920f
+++ libpurple/protocols/yahoo/yahoo.c	88f6b6912d8c1025cf696355a33671809cf398dd
@@ -4416,7 +4416,7 @@ static void yahoo_get_sms_carrier(Purple
 		"Cookie: T=%s; path=/; domain=.yahoo.com; Y=%s; path=/; domain=.yahoo.com;\r\n"
 		"User-Agent: Mozilla/4.0 (compatible; MSIE 5.5)\r\n"
 		"Host: validate.msg.yahoo.com\r\n"
-		"Content-Length: %d\r\n"
+		"Content-Length: %" G_GSIZE_FORMAT "\r\n"
 		"Cache-Control: no-cache\r\n\r\n%s",
 		YAHOO_CLIENT_VERSION, yd->cookie_t, yd->cookie_y, strlen(validate_request_str), validate_request_str);
 
============================================================
--- libpurple/protocols/yahoo/yahoo_filexfer.c	ce75a755b0c3d4a54a5fa55f3820009b0178e6b6
+++ libpurple/protocols/yahoo/yahoo_filexfer.c	139507baec69e2ced4ed3450349bbefc70f5ff7d
@@ -1390,7 +1390,7 @@ static void yahoo_p2p_ft_HEAD_GET_cb(gpo
 		                            "Server: Y!/1.0\r\n"
 		                            "MIME-version: 1.0\r\n"
 		                            "Last-modified: %s GMT\r\n"
-		                            "Content-length: %d\r\n\r\n",
+		                            "Content-length: %" G_GSIZE_FORMAT "\r\n\r\n",
 		                            time_str, time_str, xfer->size);
 		xd->txbuflen = strlen(xd->txbuf);
 		xd->txbuf_written = 0;


More information about the Commits mailing list