Don't use %zu
Eventually we'll need to make sure that a) libroken's stdint.h defines the max integer types, b) the libroken *printf()s can handle all the standard length and conversion specifiers.
This commit is contained in:
@@ -99,7 +99,7 @@ main(int argc, char *argv[])
|
||||
size_t len;
|
||||
|
||||
while ((p = fgetln(stdin, &len)) != NULL) {
|
||||
(void)printf("%zu %s", len, p);
|
||||
(void)printf("%llu %s", (unsigned long long)len, p);
|
||||
free(p);
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user