Skip to content
Snippets Groups Projects
Commit 47708457 authored by Daniel Schwierzeck's avatar Daniel Schwierzeck Committed by Tom Rini
Browse files

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: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
parent 14813f19
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ static void print_eth(int idx) ...@@ -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);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment