summaryrefslogtreecommitdiff
path: root/libwaitress
diff options
context:
space:
mode:
Diffstat (limited to 'libwaitress')
-rw-r--r--libwaitress/src/waitress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libwaitress/src/waitress.c b/libwaitress/src/waitress.c
index 545aa0a..8738a9e 100644
--- a/libwaitress/src/waitress.c
+++ b/libwaitress/src/waitress.c
@@ -372,7 +372,7 @@ WaitressReturn_t WaitressFetchCall (WaitressHandle_t *waith) {
WRITE_RET (writeBuf, strlen (writeBuf));
if (waith->method == WAITRESS_METHOD_POST && waith->postData != NULL) {
- snprintf (writeBuf, sizeof (writeBuf), "Content-Length: %u\r\n",
+ snprintf (writeBuf, sizeof (writeBuf), "Content-Length: %zu\r\n",
strlen (waith->postData));
WRITE_RET (writeBuf, strlen (writeBuf));
}