Commit 68f14f77ca5fe5f9cc025c8cae101671f628309f
Committed by
Wolfgang Denk
1 parent
fc19e36f74
Exists in
master
and in
54 other branches
Fix warning differ in signedness in cpu/pxa/mmc.c
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
cpu/pxa/mmc.c
... | ... | @@ -438,11 +438,11 @@ |
438 | 438 | /* FIXME fill in the correct size (is set to 32MByte) */ |
439 | 439 | mmc_dev.blksz = 512; |
440 | 440 | mmc_dev.lba = 0x10000; |
441 | - sprintf(mmc_dev.vendor,"Man %02x%02x%02x Snr %02x%02x%02x", | |
441 | + sprintf((char*)mmc_dev.vendor,"Man %02x%02x%02x Snr %02x%02x%02x", | |
442 | 442 | cid->id[0], cid->id[1], cid->id[2], |
443 | 443 | cid->sn[0], cid->sn[1], cid->sn[2]); |
444 | - sprintf(mmc_dev.product,"%s",cid->name); | |
445 | - sprintf(mmc_dev.revision,"%x %x",cid->hwrev, cid->fwrev); | |
444 | + sprintf((char*)mmc_dev.product,"%s",cid->name); | |
445 | + sprintf((char*)mmc_dev.revision,"%x %x",cid->hwrev, cid->fwrev); | |
446 | 446 | mmc_dev.removable = 0; |
447 | 447 | mmc_dev.block_read = mmc_bread; |
448 | 448 |