From: Wolfgang Denk Date: Wed, 4 Feb 2009 08:42:20 +0000 (+0100) Subject: Fix compiler warning X-Git-Tag: v2009.03-rc1~110 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=657f2062d8e17ebf4a55f52c9e71c07c0c94c779;p=u-boot Fix compiler warning (shows up only when DEBUG is enabled) Signed-off-by: Wolfgang Denk --- diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 84ff7e8095..bfb1f9f3b5 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++); }