fix printf time_t warning
authorTero Marttila <terom@fixme.fi>
Mon, 25 Jan 2010 02:04:35 +0200
changeset 63 2aab5d906dc8
parent 62 959daee41c03
child 64 98d934a9b3db
fix printf time_t warning
src/util/main.c
--- a/src/util/main.c	Mon Jan 25 02:03:47 2010 +0200
+++ b/src/util/main.c	Mon Jan 25 02:04:35 2010 +0200
@@ -222,9 +222,9 @@
 
         } else {
             log_info("\tImage dimensions: %zux%zu", info->img_width, info->img_height);
-            log_info("\tImage mtime=%u, bytes=%zu", info->image_mtime, info->image_bytes);
-            log_info("\tCache mtime=%u, bytes=%zu, blocks=%zu (%zu bytes)", 
-                    info->cache_mtime, info->cache_bytes, info->cache_blocks, info->cache_blocks * 512
+            log_info("\tImage mtime=%ld, bytes=%zu", (long) info->image_mtime, info->image_bytes);
+            log_info("\tCache mtime=%ld, bytes=%zu, blocks=%zu (%zu bytes)", 
+                    (long) info->cache_mtime, info->cache_bytes, info->cache_blocks, info->cache_blocks * 512
             );
         }