[U-Boot-Users] [PATCH] =?utf-8?q?Fix=20build=20time=20warnings=20in=20function=20=E2=80=98mmc=5Fdecode=5Fcsd=E2=80=99:
Marcel Ziswiler
marcel at ziswiler.com
Fri Jul 11 01:09:59 CEST 2008
Signed-off-by: Marcel Ziswiler <marcel at ziswiler.com>
---
cpu/pxa/mmc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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));
}
--
1.5.4.1
More information about the U-Boot
mailing list