Fix compiler warning

(shows up only when DEBUG is enabled)

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk 2009-02-04 09:42:20 +01:00
parent 9d8811c5bd
commit 657f2062d8

View 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++);
}