From 5bbe10dd2eb067a355d37bbf1a1621810bf3582e Mon Sep 17 00:00:00 2001 From: Marek Vasut <marek.vasut@gmail.com> Date: Tue, 25 Oct 2011 11:39:15 +0200 Subject: [PATCH] GCC4.6: Squash warning in cmd_ide.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org> --- common/cmd_ide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5