# HG changeset patch # User Paul Aurich # Date 1239486846 0 # Node ID 98d8c336234dd7fac32daa6cba0ff9c21cbfdc0f # Parent 430298a6151206d2291e69d5f33ab98f036a7e6f Fix two int/size_t format build warnings on 64-bit diff -r 430298a61512 -r 98d8c336234d libpurple/protocols/yahoo/yahoo.c --- 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); diff -r 430298a61512 -r 98d8c336234d libpurple/protocols/yahoo/yahoo_filexfer.c --- 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;