From 657f2062d8e17ebf4a55f52c9e71c07c0c94c779 Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Wed, 4 Feb 2009 09:42:20 +0100 Subject: [PATCH] Fix compiler warning (shows up only when DEBUG is enabled) Signed-off-by: Wolfgang Denk --- drivers/mtd/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++); } -- 2.39.5