From a9fc40467450f5afa9b220bb7c0fa9cade71c7a5 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 30 Aug 2021 08:43:07 +0100 Subject: shuf: silence compiler warning --- coreutils/shuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreutils/shuf.c b/coreutils/shuf.c index 77f8a8ff9..71b27f497 100644 --- a/coreutils/shuf.c +++ b/coreutils/shuf.c @@ -169,7 +169,7 @@ int shuf_main(int argc, char **argv) else if (sizeof(lines[0]) == sizeof(long)) printf("%lu%c", (unsigned long)(uintptr_t)lines[i], eol); else - printf("%llu%c", (unsigned long long)(uintptr_t)lines[i], eol); + printf("%"LL_FMT"u%c", (unsigned long long)(uintptr_t)lines[i], eol); } else printf("%s%c", lines[i], eol); } -- cgit v1.2.3-55-g6feb