From 6d63e2e47ac83c5da4362e93009a395d1808e01f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 19 Dec 2009 16:08:09 +0100 Subject: Fix printf format for size_t --- src/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3