]> git.sur5r.net Git - u-boot/commitdiff
Fix compiler warning
authorWolfgang Denk <wd@denx.de>
Wed, 4 Feb 2009 08:42:20 +0000 (09:42 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 4 Feb 2009 11:09:20 +0000 (12:09 +0100)
(shows up only when DEBUG is enabled)

Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/mtd/cfi_flash.c

index 84ff7e80950965dec69a5ede4c216698ca8b6b8d..bfb1f9f3b5f13759c8d06c2a33a871161a83e9b6 100644 (file)
@@ -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++);
 }