diff options
author | Wolfgang Denk <wd@denx.de> | 2009-02-04 09:42:20 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-02-04 12:09:20 +0100 |
commit | 657f2062d8e17ebf4a55f52c9e71c07c0c94c779 (patch) | |
tree | 803a6eeb4541e8486c1eab61bdf3847083e060a4 /drivers/mtd/cfi_flash.c | |
parent | 9d8811c5bd2b7dd6307742cf22fbdb7953b6f816 (diff) | |
download | u-boot-imx-657f2062d8e17ebf4a55f52c9e71c07c0c94c779.zip u-boot-imx-657f2062d8e17ebf4a55f52c9e71c07c0c94c779.tar.gz u-boot-imx-657f2062d8e17ebf4a55f52c9e71c07c0c94c779.tar.bz2 |
Fix compiler warning
(shows up only when DEBUG is enabled)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
-rw-r--r-- | drivers/mtd/cfi_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 84ff7e8..bfb1f9f 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -354,7 +354,7 @@ static void print_longlong (char *str, unsigned long long data) int i; char *cp; - cp = (unsigned char *) &data; + cp = (char *) &data; for (i = 0; i < 8; i++) sprintf (&str[i * 2], "%2.2x", *cp++); } |