Skip to content
Snippets Groups Projects
Commit 6b760189 authored by Marcel Ziswiler's avatar Marcel Ziswiler Committed by Wolfgang Denk
Browse files

Fix build time warnings in function mmc_decode_csd()

parent c15947d6
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment