aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-08-30 08:43:07 +0100
committerRon Yorston <rmy@pobox.com>2021-08-30 09:16:01 +0100
commita9fc40467450f5afa9b220bb7c0fa9cade71c7a5 (patch)
tree8569f759d8c84b3be0648b93611c38a86158552b
parentbdb10f66af52bbd4f9d9340f2cf8ca73adbaee91 (diff)
downloadbusybox-w32-a9fc40467450f5afa9b220bb7c0fa9cade71c7a5.tar.gz
busybox-w32-a9fc40467450f5afa9b220bb7c0fa9cade71c7a5.tar.bz2
busybox-w32-a9fc40467450f5afa9b220bb7c0fa9cade71c7a5.zip
shuf: silence compiler warning
-rw-r--r--coreutils/shuf.c2
1 files changed, 1 insertions, 1 deletions
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)
169 else if (sizeof(lines[0]) == sizeof(long)) 169 else if (sizeof(lines[0]) == sizeof(long))
170 printf("%lu%c", (unsigned long)(uintptr_t)lines[i], eol); 170 printf("%lu%c", (unsigned long)(uintptr_t)lines[i], eol);
171 else 171 else
172 printf("%llu%c", (unsigned long long)(uintptr_t)lines[i], eol); 172 printf("%"LL_FMT"u%c", (unsigned long long)(uintptr_t)lines[i], eol);
173 } else 173 } else
174 printf("%s%c", lines[i], eol); 174 printf("%s%c", lines[i], eol);
175 } 175 }