[2144] 2009-04-27 Vladimir Serbinenko <[email protected]>

Vladimir Serbinenko <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2144
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2144
Author:   phcoder
Date:     2009-04-27 15:39:39 +0000 (Mon, 27 Apr 2009)
Log Message:
-----------
2009-04-27  Vladimir Serbinenko  <[email protected]>

	Warning fix

	* disk/scsi.c (grub_scsi_open): added missing cast when 
	calling grub_dprintf

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/disk/scsi.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-04-26 15:09:30 UTC (rev 2143)
+++ trunk/grub2/ChangeLog	2009-04-27 15:39:39 UTC (rev 2144)
@@ -1,3 +1,10 @@
+2009-04-27  Vladimir Serbinenko  <[email protected]>
+
+	Warning fix
+
+	* disk/scsi.c (grub_scsi_open): added missing cast when 
+	calling grub_dprintf
+
 2009-04-26  Vladimir Serbinenko  <[email protected]>
 
 	Bug and warning fixes

Modified: trunk/grub2/disk/scsi.c
===================================================================
--- trunk/grub2/disk/scsi.c	2009-04-26 15:09:30 UTC (rev 2143)
+++ trunk/grub2/disk/scsi.c	2009-04-27 15:39:39 UTC (rev 2144)
@@ -301,7 +301,8 @@
 				 << GRUB_DISK_SECTOR_BITS);
 
 	  grub_dprintf ("scsi", "capacity=%llu, blksize=%d\n",
-			disk->total_sectors, scsi->blocksize);
+			(unsigned long long) disk->total_sectors, 
+			scsi->blocksize);
 
 	  return GRUB_ERR_NONE;
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.