summaryrefslogtreecommitdiffstats
path: root/uisimulator/common
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-17 10:50:58 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-17 10:50:58 +0000
commitbd5c0ad7bb93a661ce284f427faab01513a1e28a (patch)
tree5700a37c5985937375a9c952dbaca9890afaf565 /uisimulator/common
parent341b03a24229f16bba98f88832a07d37b834eb63 (diff)
downloadrockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.tar.gz
rockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.tar.bz2
rockbox-bd5c0ad7bb93a661ce284f427faab01513a1e28a.zip
Cast some more to keep both 32 bit and 64 bit simulator platforms happy.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12819 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/common')
-rw-r--r--uisimulator/common/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/common/io.c b/uisimulator/common/io.c
index a91b70922c..b03dc01a64 100644
--- a/uisimulator/common/io.c
+++ b/uisimulator/common/io.c
@@ -331,8 +331,8 @@ void fat_size(unsigned int* size, unsigned int* free)
struct statfs fs;
if (!statfs(".", &fs)) {
- DEBUGF("statfs: bsize=%d blocks=%d free=%d\n",
- fs.f_bsize, fs.f_blocks, fs.f_bfree);
+ DEBUGF("statfs: bsize=%d blocks=%ld free=%ld\n",
+ (int)fs.f_bsize, fs.f_blocks, fs.f_bfree);
if (size)
*size = fs.f_blocks * (fs.f_bsize / 1024);
if (free)