mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
common: cmd_bdinfo: fix type of value in print_lnum
This fixes a warning when compiling with ELDK-5.2.1 for MIPS64: cmd_bdinfo.c: In function 'print_lnum': cmd_bdinfo.c:56:2: warning: format '%llX' expects argument of type 'long long unsigned int', but argument 3 has type 'u64' [-Wformat] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
This commit is contained in:
parent
14813f19e3
commit
47708457f8
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ static void print_eth(int idx)
|
||||||
}
|
}
|
||||||
|
|
||||||
__maybe_unused
|
__maybe_unused
|
||||||
static void print_lnum(const char *name, u64 value)
|
static void print_lnum(const char *name, unsigned long long value)
|
||||||
{
|
{
|
||||||
printf("%-12s= 0x%.8llX\n", name, value);
|
printf("%-12s= 0x%.8llX\n", name, value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue