From 3ed17b079250962762f4c4baa3639ab884205471 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 22 Jun 2019 16:30:32 +0200 Subject: printf: Support %zu (the 'z' is really just ignored.) --- Userland/tc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/tc.cpp') diff --git a/Userland/tc.cpp b/Userland/tc.cpp index 7abf31c9af..857d861e65 100644 --- a/Userland/tc.cpp +++ b/Userland/tc.cpp @@ -80,7 +80,7 @@ int main(int argc, char** argv) printf("\033[36;1m%s\033[0m", buffer); } - printf("(%u bytes received)\n", total_recv); + printf("(%zu bytes received)\n", total_recv); rc = close(fd); if (rc < 0) { perror("close"); -- cgit v1.2.3