mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
printf [s]size_t as %z[du].
This commit is contained in:
parent
0001301dae
commit
11f953e783
@ -2176,7 +2176,7 @@ static ssize_t send_from_file(const int s, const int fd,
|
||||
return -1;
|
||||
}
|
||||
else if ((size_t)numread != amount) {
|
||||
fprintf(stderr, "read %d bytes, expecting %u bytes on fd %d\n",
|
||||
fprintf(stderr, "read %zd bytes, expecting %zu bytes on fd %d\n",
|
||||
numread, amount, fd);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user