From: Marcel Holtmann Date: Fri, 4 Mar 2011 13:11:31 +0000 (-0800) Subject: stats: Fix compiler warning on 64-bit machines X-Git-Tag: 0.71~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d710cf998faf08465bccb65c5897eb37c1ced306;p=platform%2Fupstream%2Fconnman.git stats: Fix compiler warning on 64-bit machines --- diff --git a/src/stats.c b/src/stats.c index c4aa24e..1a6b3e5 100644 --- a/src/stats.c +++ b/src/stats.c @@ -277,7 +277,7 @@ static int stats_file_remap(struct stats_file *file, size_t size) void *addr; int err; - DBG("file %p size %u addr %p len %u", file, size, file->addr, + DBG("file %p size %zu addr %p len %zu", file, size, file->addr, file->len); page_size = sysconf(_SC_PAGESIZE);