From bba457c8af82f442b62546d1b83cdc93eeb9f6d3 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 24 Feb 2012 04:51:10 +0000 Subject: [PATCH] Avoid a warning when compiled in debugging mode (at least for 64-bits) --- src/download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download.c b/src/download.c index 08a2fc6..e56e6e4 100644 --- a/src/download.c +++ b/src/download.c @@ -394,7 +394,7 @@ static void _download_refresh(Download * download) double fraction; #ifdef DEBUG - fprintf(stderr, "DEBUG: %s() %u/%u\n", __func__, + fprintf(stderr, "DEBUG: %s() %lu/%lu\n", __func__, download->data_received, download->content_length); #endif /* XXX should check gettimeofday() return value explicitly */