From: Marek Vasut Date: Fri, 21 Oct 2011 14:17:23 +0000 (+0000) Subject: GCC4.6: Squash warnings in sata_sil3114.c X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5779a9e2c3c18f88072236fc9a98ff5536ad8787;p=u-boot.git GCC4.6: Squash warnings in sata_sil3114.c sata_sil3114.c: In function 'sata_identify': sata_sil3114.c:174: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'lbaint_t' Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- diff --git a/drivers/block/sata_sil3114.c b/drivers/block/sata_sil3114.c index d43064e0f1..1e60636ec2 100644 --- a/drivers/block/sata_sil3114.c +++ b/drivers/block/sata_sil3114.c @@ -171,7 +171,7 @@ static void sata_identify (int num, int dev) sata_dev_desc[devno].removable = 0; sata_dev_desc[devno].lba = (u32) n_sectors; - debug ("lba=0x%x\n", sata_dev_desc[devno].lba); + debug("lba=0x%lx\n", sata_dev_desc[devno].lba); #ifdef CONFIG_LBA48 if (iobuf[83] & (1 << 10)) {