mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
Fix compiler warning
(shows up only when DEBUG is enabled) Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
9d8811c5bd
commit
657f2062d8
1 changed files with 1 additions and 1 deletions
|
@ -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++);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue