Commit 47708457f8e3e155fc656d9b6d176aa53ced4440

Authored by Daniel Schwierzeck
Committed by Tom Rini
1 parent 14813f19e3

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -51,7 +51,7 @@
51 51 }
52 52  
53 53 __maybe_unused
54   -static void print_lnum(const char *name, u64 value)
  54 +static void print_lnum(const char *name, unsigned long long value)
55 55 {
56 56 printf("%-12s= 0x%.8llX\n", name, value);
57 57 }