From bba9cb7afc65de9f739d64e16215dc0a80182d0c Mon Sep 17 00:00:00 2001 From: des Date: Wed, 18 Feb 2004 21:51:02 +0000 Subject: Use %zu for size_t, like God intended. --- usr.bin/fetch/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/fetch/fetch.c') diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 43fa208..4eff618 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -157,7 +157,7 @@ stat_bytes(size_t bytes) bytes /= 1024; prefix++; } - snprintf(str, sizeof str, "%4ju %cB", (uintmax_t)bytes, *prefix); + snprintf(str, sizeof str, "%4zu %cB", bytes, *prefix); return (str); } -- cgit v1.1