nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0370-include-grub-macho.h-Set-GRUB_MACHO_FAT_EFI_MAGIC-as.patch

f96e0b
From 5f0d4ed36e19f1bc60f38da40a14ce85b6b2ae9c Mon Sep 17 00:00:00 2001
f96e0b
From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
f96e0b
Date: Sat, 27 Apr 2013 23:06:52 +0200
f96e0b
Subject: [PATCH 370/482] 	* include/grub/macho.h: Set
f96e0b
 GRUB_MACHO_FAT_EFI_MAGIC as unsigned.
f96e0b
f96e0b
---
f96e0b
 ChangeLog            | 4 ++++
f96e0b
 include/grub/macho.h | 2 +-
f96e0b
 2 files changed, 5 insertions(+), 1 deletion(-)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 43b2906..3144dd0 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,7 @@
f96e0b
+2013-04-27  Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
f96e0b
+
f96e0b
+	* include/grub/macho.h: Set GRUB_MACHO_FAT_EFI_MAGIC as unsigned.
f96e0b
+
f96e0b
 2013-04-27  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
 
f96e0b
 	* grub-core/term/ns8250.c: Systematically probe ports by writing
f96e0b
diff --git a/include/grub/macho.h b/include/grub/macho.h
f96e0b
index 18434ff..2bfc30f 100644
f96e0b
--- a/include/grub/macho.h
f96e0b
+++ b/include/grub/macho.h
f96e0b
@@ -34,7 +34,7 @@ enum
f96e0b
   };
f96e0b
 
f96e0b
 #define GRUB_MACHO_FAT_MAGIC 0xcafebabe
f96e0b
-#define GRUB_MACHO_FAT_EFI_MAGIC 0x0ef1fab9
f96e0b
+#define GRUB_MACHO_FAT_EFI_MAGIC 0x0ef1fab9U
f96e0b
 
f96e0b
 typedef grub_uint32_t grub_macho_cpu_type_t;
f96e0b
 typedef grub_uint32_t grub_macho_cpu_subtype_t;
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b