From: Marcel Ziswiler Date: Thu, 10 Jul 2008 23:09:59 +0000 (+0200) Subject: Fix build time warnings in function mmc_decode_csd() X-Git-Tag: v2008.10-rc1~194^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b760189d77f001684e3160b355c185ca3804961;p=platform%2Fkernel%2Fu-boot.git Fix build time warnings in function mmc_decode_csd() Signed-off-by: Marcel Ziswiler --- diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c index 4495a80..8c529a3 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)); }