summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-10-03 08:36:11 +0000
committerTom Rini <trini@ti.com>2012-10-15 11:54:04 -0700
commit47708457f8e3e155fc656d9b6d176aa53ced4440 (patch)
treed495abdea2b373ccf0c777f1dedaf5413805dbe6 /common
parent14813f19e36ba313fadaa8cf4716c1b8c1564cde (diff)
downloadtalos-obmc-uboot-47708457f8e3e155fc656d9b6d176aa53ced4440.tar.gz
talos-obmc-uboot-47708457f8e3e155fc656d9b6d176aa53ced4440.zip
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>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 23bd8a5098..286c8c8011 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -51,7 +51,7 @@ static void print_eth(int idx)
}
__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);
}
OpenPOWER on IntegriCloud