Browse Source

Fix build time warnings in function mmc_decode_csd()

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Marcel Ziswiler 17 years ago
parent
commit
6b760189d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cpu/pxa/mmc.c

+ 1 - 1
cpu/pxa/mmc.c

@@ -535,7 +535,7 @@ static void mmc_decode_csd(uint32_t * resp)
 	mmc_dev.removable = 0;
 	mmc_dev.removable = 0;
 	mmc_dev.block_read = mmc_bread;
 	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));
 	       mmc_dev.blksz, mmc_dev.lba * mmc_dev.blksz / (1024 * 1024));
 }
 }