From bd5c0ad7bb93a661ce284f427faab01513a1e28a Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 17 Mar 2007 10:50:58 +0000 Subject: 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 --- uisimulator/common/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uisimulator/common/io.c') 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) -- cgit v1.2.3