From: Marek Vasut Date: Tue, 25 Oct 2011 09:39:15 +0000 (+0200) Subject: GCC4.6: Squash warning in cmd_ide.c X-Git-Tag: v2011.12-rc1~376 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5bbe10dd2eb067a355d37bbf1a1621810bf3582e;p=u-boot GCC4.6: Squash warning in cmd_ide.c cmd_ide.c: In function ‘ide_read’: cmd_ide.c:1227:2: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘lbaint_t’ [-Wformat] Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/common/cmd_ide.c b/common/cmd_ide.c index da5189c37e..74e6504b2d 100644 --- a/common/cmd_ide.c +++ b/common/cmd_ide.c @@ -1224,7 +1224,7 @@ ulong ide_read (int device, lbaint_t blknr, ulong blkcnt, void *buffer) lba48 = 1; } #endif - debug ("ide_read dev %d start %LX, blocks %lX buffer at %lX\n", + debug("ide_read dev %d start %lX, blocks %lX buffer at %lX\n", device, blknr, blkcnt, (ulong)buffer); ide_led (DEVICE_LED(device), 1); /* LED on */