diff src/protocols/yahoo/yahoo_filexfer.c @ 10111:8490f2e292a6

[gaim-migrate @ 11144] cleaning out the 64-bit stuff from my tree...piece by piece committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 18 Oct 2004 05:22:21 +0000
parents 255596f41014
children d4e9ff2edc4e
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_filexfer.c	Mon Oct 18 01:03:51 2004 +0000
+++ b/src/protocols/yahoo/yahoo_filexfer.c	Mon Oct 18 05:22:21 2004 +0000
@@ -117,7 +117,7 @@
 
 	pkt = yahoo_packet_new(YAHOO_SERVICE_FILETRANSFER, YAHOO_STATUS_AVAILABLE, yd->session_id);
 
-	size = g_strdup_printf("%d", gaim_xfer_get_size(xfer));
+	size = g_strdup_printf("%" G_GSIZE_FORMAT, gaim_xfer_get_size(xfer));
 
 	yahoo_packet_hash(pkt, 0, gaim_connection_get_display_name(gc));
 	yahoo_packet_hash(pkt, 5, xfer->who);
@@ -131,7 +131,7 @@
 	buf = g_strdup_printf("Y=%s; T=%s", yd->cookie_y, yd->cookie_t);
 
 	post = g_strdup_printf("POST /notifyft HTTP/1.0\r\n"
-	                       "Content-length: %d\r\n"
+	                       "Content-length: %" G_GSIZE_FORMAT "\r\n"
 	                       "Host: %s:%d\r\n"
 	                       "Cookie: %s\r\n"
 	                       "\r\n",