diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-12-19 16:08:09 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-12-19 16:08:09 +0100 |
commit | 6d63e2e47ac83c5da4362e93009a395d1808e01f (patch) | |
tree | 700afa3b6d79048f49a9935a6ae8154aa04433a9 /libwaitress/src | |
parent | d57bf656fd35eff82034dea5072014bffdc92f82 (diff) | |
download | pianobar-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.c | 2 |
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)); } |