From: Wolfgang Denk Date: Sat, 13 Oct 2007 23:58:52 +0200 Subject: [U-Boot-Users] Fix warning differ in signedness in cpu/pxa/mmc.c In-Reply-To: Your message of "Sat, 29 Sep 2007 13:41:37 +0200." Message-ID: <20071013215852.E167224899@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > Hi, > > Fix warning differ in signedness in cpu/pxa/mmc.c > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > > diff --git a/cpu/pxa/mmc.c b/cpu/pxa/mmc.c > index 0fbaa16..d76e0cd 100644 > --- a/cpu/pxa/mmc.c > +++ b/cpu/pxa/mmc.c > @@ -438,11 +438,11 @@ mmc_init(int verbose) > /* FIXME fill in the correct size (is set to 32MByte) */ > mmc_dev.blksz = 512; > mmc_dev.lba = 0x10000; > - sprintf(mmc_dev.vendor,"Man %02x%02x%02x Snr %02x%02x%02x", > + sprintf((char*)mmc_dev.vendor,"Man %02x%02x%02x Snr > %02x%02x%02x", ^^^^^^^^^^^^^^^^^^ Patch was corrupted by your mailer which wrapped long lines, and because of all white space was converted into spaces. Applied manually. Note: please check your patches before posting. That was the last one I fixed manually for you; next time I will just send a reject. Best regards, Wolfgang Denk -- 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 "If the code and the comments disagree, then both are probably wrong." - Norm Schryer