mirror of
https://github.com/nealey/eris.git
synced 2025-01-19 21:35:03 -07:00
fix printf warning
This commit is contained in:
parent
71112ac2a7
commit
cf10e1615c
1 changed files with 1 additions and 1 deletions
2
eris.c
2
eris.c
|
@ -181,7 +181,7 @@ not_found()
|
|||
|
||||
header(404, "Not Found");
|
||||
printf("Content-Type: text/html\r\n");
|
||||
printf("Content-Length: %lu\r\n", sizeof msg);
|
||||
printf("Content-Length: %lu\r\n", (unsigned long) sizeof msg);
|
||||
printf("\r\n");
|
||||
printf("%s\n", msg); /* sizeof msg includes the NULL */
|
||||
dolog(404, sizeof msg);
|
||||
|
|
Loading…
Reference in a new issue