changeset 26545:98d8c336234d

Fix two int/size_t format build warnings on 64-bit
author Paul Aurich <paul@darkrain42.org>
date Sat, 11 Apr 2009 21:54:06 +0000
parents 430298a61512
children e7861a7978dc
files libpurple/protocols/yahoo/yahoo.c libpurple/protocols/yahoo/yahoo_filexfer.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Sat Apr 11 21:52:58 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Sat Apr 11 21:54:06 2009 +0000
@@ -4416,7 +4416,7 @@
 		"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);
 
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c	Sat Apr 11 21:52:58 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c	Sat Apr 11 21:54:06 2009 +0000
@@ -1390,7 +1390,7 @@
 		                            "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;