summaryrefslogtreecommitdiff
path: root/libwaitress/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-12-19 16:08:09 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-12-19 16:08:09 +0100
commit6d63e2e47ac83c5da4362e93009a395d1808e01f (patch)
tree700afa3b6d79048f49a9935a6ae8154aa04433a9 /libwaitress/src
parentd57bf656fd35eff82034dea5072014bffdc92f82 (diff)
downloadpianobar-windows-6d63e2e47ac83c5da4362e93009a395d1808e01f.tar.gz
pianobar-windows-6d63e2e47ac83c5da4362e93009a395d1808e01f.tar.bz2
pianobar-windows-6d63e2e47ac83c5da4362e93009a395d1808e01f.zip
Fix printf format for size_t
Diffstat (limited to 'libwaitress/src')
-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));
}