Replace PRId64 with "jd" in a printf call. Cast the corresponding value to
intmax_t, because the original type is off_t. Reported by: bde
This commit is contained in:
parent
c92bc5e996
commit
8ea4debe59
@ -187,7 +187,7 @@ main(int argc, char *argv[])
|
||||
perror("unknown file type\n");
|
||||
exit(1);
|
||||
}
|
||||
printf("File: %s; File size %"PRId64" bytes\n", fn, file_size);
|
||||
printf("File: %s; File size %jd bytes\n", fn, (intmax_t)file_size);
|
||||
|
||||
aio = calloc(aio_len, sizeof(struct aiocb));
|
||||
abuf = calloc(aio_len, sizeof(char *));
|
||||
|
Loading…
x
Reference in New Issue
Block a user