Hello all,

This just fix the following build crash:

../util/grub-glue-efi.c: In function 'write_fat':
../util/grub-glue-efi.c:109:3: error: large integer implicitly truncated to unsigned type [-Werror=overflow]

--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group

=== modified file 'ChangeLog'
--- ChangeLog	2013-04-17 17:08:31 +0000
+++ ChangeLog	2013-04-18 16:12:22 +0000
@@ -1,3 +1,7 @@
+2013-04-18  Paulo Flabiano Smorigo <pfsmor...@br.ibm.com>
+
+	* include/grub/macho.h: Set GRUB_MACHO_FAT_EFI_MAGIC as unsigned.
+
 2013-04-17  Vladimir Serbinenko  <phco...@gmail.com>
 
 	* util/grub-mkrescue.in: Add GPT for EFI boot.

=== modified file 'include/grub/macho.h'
--- include/grub/macho.h	2013-04-12 22:38:04 +0000
+++ include/grub/macho.h	2013-04-18 15:32:46 +0000
@@ -34,7 +34,7 @@
   };
 
 #define GRUB_MACHO_FAT_MAGIC 0xcafebabe
-#define GRUB_MACHO_FAT_EFI_MAGIC 0x0ef1fab9
+#define GRUB_MACHO_FAT_EFI_MAGIC 0x0ef1fab9U
 
 typedef grub_uint32_t grub_macho_cpu_type_t;
 typedef grub_uint32_t grub_macho_cpu_subtype_t;

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to