# HG changeset patch # User Mark Doliner # Date 1053280595 0 # Node ID 6b4169b1d9d4b1c8dba4501535c5dc27e8c78840 # Parent 49f857d4b75430dc520b42e944379d58681c24ab [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 diff -r 49f857d4b754 -r 6b4169b1d9d4 src/protocols/jabber/jabber.c --- 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);