summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-03-18 09:50:53 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-03-18 09:50:53 +0000
commit01a010fd19a64f150ea95f223b1fd209c378ae57 (patch)
tree40353423740b16e74e1128a283ea882f50bc8710 /firmware/common
parentdd40a2e2fcde145cd6a70a1042729032e4da26f3 (diff)
Fix several printf-style warnings in logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/dircache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c
index f78fa2d0cf..023f00f848 100644
--- a/firmware/common/dircache.c
+++ b/firmware/common/dircache.c
@@ -461,7 +461,7 @@ int dircache_load(void)
dircache_size = maindata.size;
allocated_size = dircache_size + DIRCACHE_RESERVE;
reserve_used = 0;
- logf("Done, %d KiB used", dircache_size / 1024);
+ logf("Done, %ld KiB used", dircache_size / 1024);
dircache_initialized = true;
memset(fd_bindings, 0, sizeof(fd_bindings));
@@ -564,7 +564,7 @@ static int dircache_do_rebuild(void)
}
cpu_boost(false);
- logf("Done, %d KiB used", dircache_size / 1024);
+ logf("Done, %ld KiB used", dircache_size / 1024);
dircache_initialized = true;
dircache_initializing = false;