From 9c363f815d46709a904edad4919f06cb8d353b5f Mon Sep 17 00:00:00 2001 From: "Paul R. Eggert" Date: Mon, 19 Jul 2010 09:42:05 -0700 Subject: [PATCH] * gzip.c (get_method): don't assume size_t can be printed with %u --- gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.c b/gzip.c index 0443e16..65f5897 100644 --- a/gzip.c +++ b/gzip.c @@ -1368,7 +1368,7 @@ local int get_method(in) if ((flags & EXTRA_FIELD) != 0) { uch lenbuf[2]; - size_t len = lenbuf[0] = get_byte (); + unsigned int len = lenbuf[0] = get_byte (); len |= (lenbuf[1] = get_byte ()) << 8; if (verbose) { fprintf(stderr,"%s: %s: extra field of %u bytes ignored\n", -- 2.47.2