From: Michal Simek Date: Wed, 23 Jan 2013 13:15:35 +0000 (+0100) Subject: common: cmd_bdinfo: Fix compilation warning for microblaze X-Git-Tag: v2013.04-rc1~63^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82b6a4764c4ff0ea9b23875b99452a230cbb75db;p=u-boot common: cmd_bdinfo: Fix compilation warning for microblaze Fix one printf compilation warning in microblaze bdinfo part. Warning log: cmd_bdinfo.c: In function 'do_bdinfo': cmd_bdinfo.c:219:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] Signed-off-by: Michal Simek --- diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 65a5e08062..28b52414cf 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -216,7 +216,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) #if defined(CONFIG_CMD_NET) print_eths(); #endif - printf("baudrate = %u bps\n", (ulong)bd->bi_baudrate); + printf("baudrate = %u bps\n", bd->bi_baudrate); return 0; }