Mercurial > pidgin
changeset 5432:6b4169b1d9d4
[gaim-migrate @ 5814]
Replace a compile warning on 64 bit platforms with a warning everywhere
else? I don't think so.
%zd should correspond to a size_t argument. Hopefully that's a standard
length modifier thingy.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 18 May 2003 17:56:35 +0000 |
parents | 49f857d4b754 |
children | 19224d2ab31e |
files | src/protocols/jabber/jabber.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c Sun May 18 13:12:37 2003 +0000 +++ b/src/protocols/jabber/jabber.c Sun May 18 17:56:35 2003 +0000 @@ -2065,7 +2065,7 @@ if(data->newline) { gchar *lenstr = strstr(data->headers->str, "Content-Length: "); if(lenstr) { - sscanf(lenstr, "Content-Length: %ld", &size); + sscanf(lenstr, "Content-Length: %zd", &size); gaim_xfer_set_size(xfer, size); } gaim_xfer_set_read_fnc(xfer, NULL);