summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Aurich <darkrain42@pidgin.im>2009-04-11 21:54:06 +0000
committerPaul Aurich <darkrain42@pidgin.im>2009-04-11 21:54:06 +0000
commit26ea543d0e3708b40e7b46378eadaeac3f572fc3 (patch)
tree7c924d93ac3a896aa326675fb570dca427ff8319
parentaa071028ea1d73e0b8478de76de9dd41d2ffbfb4 (diff)
downloadpidgin-26ea543d0e3708b40e7b46378eadaeac3f572fc3.tar.gz
Fix two int/size_t format build warnings on 64-bit
-rw-r--r--libpurple/protocols/yahoo/yahoo.c2
-rw-r--r--libpurple/protocols/yahoo/yahoo_filexfer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpurple/protocols/yahoo/yahoo.c b/libpurple/protocols/yahoo/yahoo.c
index 51b1bc014a..959934537a 100644
--- a/libpurple/protocols/yahoo/yahoo.c
+++ b/libpurple/protocols/yahoo/yahoo.c
@@ -4416,7 +4416,7 @@ static void yahoo_get_sms_carrier(PurpleConnection *gc, gpointer data)
"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 --git a/libpurple/protocols/yahoo/yahoo_filexfer.c b/libpurple/protocols/yahoo/yahoo_filexfer.c
index 9b2bc1d064..e5d4ef4c39 100644
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c
@@ -1390,7 +1390,7 @@ static void yahoo_p2p_ft_HEAD_GET_cb(gpointer data, gint source, PurpleInputCond
"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;