Blame SOURCES/0174-grub-core-loader-i386-pc-linux.c-grub_cmd_linux-Fix-.patch

f96e0b
From a446d9c14fa9e4a10a1ab8f50fa60b9530d8064f Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Fri, 1 Mar 2013 10:39:41 +0100
f96e0b
Subject: [PATCH 174/482] 	* grub-core/loader/i386/pc/linux.c
f96e0b
 (grub_cmd_linux): Fix compilation 	for 64-bit platforms.
f96e0b
f96e0b
---
f96e0b
 ChangeLog                        | 5 +++++
f96e0b
 grub-core/loader/i386/pc/linux.c | 5 +++--
f96e0b
 2 files changed, 8 insertions(+), 2 deletions(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index ccd6c0a..3ca1fed 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,5 +1,10 @@
f96e0b
 2013-03-01  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
+	* grub-core/loader/i386/pc/linux.c (grub_cmd_linux): Fix compilation
f96e0b
+	for 64-bit platforms.
f96e0b
+
f96e0b
+2013-03-01  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
 	* grub-core/disk/efi/efidisk.c: Transform iterate_child_devices into
f96e0b
 	a FOR_CHILDREN macro.
f96e0b
 
f96e0b
diff --git a/grub-core/loader/i386/pc/linux.c b/grub-core/loader/i386/pc/linux.c
f96e0b
index 39206c8..3ce21bc 100644
f96e0b
--- a/grub-core/loader/i386/pc/linux.c
f96e0b
+++ b/grub-core/loader/i386/pc/linux.c
f96e0b
@@ -231,8 +231,9 @@ grub_cmd_linux (grub_command_t cmd __attribute__ ((unused)),
f96e0b
     }
f96e0b
 
f96e0b
   grub_dprintf ("linux", "[Linux-%s, setup=0x%x, size=0x%x]\n",
f96e0b
-		grub_linux_is_bzimage ? "bzImage" : "zImage", real_size,
f96e0b
-		grub_linux16_prot_size);
f96e0b
+		grub_linux_is_bzimage ? "bzImage" : "zImage",
f96e0b
+		(unsigned) real_size,
f96e0b
+		(unsigned) grub_linux16_prot_size);
f96e0b
 
f96e0b
   relocator = grub_relocator_new ();
f96e0b
   if (!relocator)
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b