summaryrefslogtreecommitdiff
path: root/cpu/pxa/mmc.c
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2008-07-11 01:09:59 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 15:06:52 +0200
commit6b760189d77f001684e3160b355c185ca3804961 (patch)
tree2a4bdf961587385ae97161c2364a7a855d486a20 /cpu/pxa/mmc.c
parentc15947d6ce0d59925c97fdfac692476af6e262d0 (diff)
Fix build time warnings in function mmc_decode_csd()
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'cpu/pxa/mmc.c')
-rw-r--r--cpu/pxa/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c
index 4495a808f5..8c529a3717 100644
--- a/cpu/pxa/mmc.c
+++ b/cpu/pxa/mmc.c
@@ -535,7 +535,7 @@ static void mmc_decode_csd(uint32_t * resp)
mmc_dev.removable = 0;
mmc_dev.block_read = mmc_bread;
- printf("Detected: %u blocks of %u bytes (%uMB) ", mmc_dev.lba,
+ printf("Detected: %lu blocks of %lu bytes (%luMB) ", (unsigned long)mmc_dev.lba,
mmc_dev.blksz, mmc_dev.lba * mmc_dev.blksz / (1024 * 1024));
}