diff options
Diffstat (limited to 'uisimulator/common')
-rw-r--r-- | uisimulator/common/io.c | 4 |
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) | |||
331 | struct statfs fs; | 331 | struct statfs fs; |
332 | 332 | ||
333 | if (!statfs(".", &fs)) { | 333 | if (!statfs(".", &fs)) { |
334 | DEBUGF("statfs: bsize=%d blocks=%d free=%d\n", | 334 | DEBUGF("statfs: bsize=%d blocks=%ld free=%ld\n", |
335 | fs.f_bsize, fs.f_blocks, fs.f_bfree); | 335 | (int)fs.f_bsize, fs.f_blocks, fs.f_bfree); |
336 | if (size) | 336 | if (size) |
337 | *size = fs.f_blocks * (fs.f_bsize / 1024); | 337 | *size = fs.f_blocks * (fs.f_bsize / 1024); |
338 | if (free) | 338 | if (free) |