diff src/util.c @ 10112:1a91e814e9d8

[gaim-migrate @ 11145] it looks like the rest of this was 64-bit stuff too committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 18 Oct 2004 05:40:02 +0000
parents a9521c791afe
children 7ff9b8b22e7d
line wrap: on
line diff
--- a/src/util.c	Mon Oct 18 05:22:21 2004 +0000
+++ b/src/util.c	Mon Oct 18 05:40:02 2004 +0000
@@ -2365,7 +2365,7 @@
 		}
 
 		if (size_index == 0) {
-			return g_strdup_printf("%d %s", size, size_str[size_index]);
+			return g_strdup_printf("%zd %s", size, size_str[size_index]);
 		} else {
 			return g_strdup_printf("%.2f %s", size_mag, size_str[size_index]);
 		}
@@ -2622,7 +2622,7 @@
 	 * if we make sure that there is indeed a \n in our header.
 	 */
 	if (p && g_strstr_len(p, data_len - (p - data), "\n")) {
-		sscanf(p, "Content-Length: %u", &content_len);
+		sscanf(p, "Content-Length: %zu", &content_len);
 		gaim_debug_misc("parse_content_len", "parsed %u\n", content_len);
 	}