Skip to contentSkip to conversation

=?utf-8?q?Fix=20build=20time=20warnings=20in=20function=20=E2=80=98mmc=5Fdecode=5Fcsd=E2=80=99:

PATCH New Marcel Ziswiler 2 participants 3 messages Jul 10, 2008 – Jul 13, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 =?utf-8?q?Fix=20build=20time=20warnings=20in=20function=20=E2=80=98mmc=5Fdecode=5Fcsd=E2=80=99:

---
 cpu/pxa/mmc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cpu/pxa/mmc.c +1 -1
index 4495a80..8c529a3 100644
@@ -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));
 }
 
Signature · 1 line
1.5.4.1
#1 lore raw

PATCH 1/1 =?utf-8?q?Fix=20build=20time=20warnings=20in=20function=20=E2=80=98mmc=5Fdecode=5Fcsd=E2=80=99:

Sorry, don't know exactly why it did that utf-8 crap. Will repost ASAP.

#2 lore raw

PATCH 1/1 =?utf-8?q?Fix=20build=20time=20warnings=20in=20function=20=E2=80=98mmc=5Fdecode=5Fcsd=E2=80=99:

In reply to Marcel Ziswiler
Quoted 2 lines · In message <[email protected]> you wrote:

---

 cpu/pxa/mmc.c |    2 +-
Quoted 1 line
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Ahead warp factor 1"                                  - Captain Kirk