summaryrefslogtreecommitdiff
path: root/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 /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 'src')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 2878f79..8e8be2c 100644
--- a/src/player.c
+++ b/src/player.c
@@ -449,7 +449,7 @@ void *BarPlayerThread (void *data) {
/* This loop should work around song abortions by requesting the
* missing part of the song */
do {
- snprintf (extraHeaders, sizeof (extraHeaders), "Range: bytes=%u-\r\n",
+ snprintf (extraHeaders, sizeof (extraHeaders), "Range: bytes=%zu-\r\n",
player->bytesReceived);
wRet = WaitressFetchCall (&player->waith);
} while (wRet == WAITRESS_RET_PARTIAL_FILE || wRet == WAITRESS_RET_TIMEOUT