]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2006-10-10 Tristan Gingold <tristan.gingold@bull.net>
authorjrydberg <jrydberg@localhost>
Tue, 10 Oct 2006 17:39:10 +0000 (17:39 +0000)
committerjrydberg <jrydberg@localhost>
Tue, 10 Oct 2006 17:39:10 +0000 (17:39 +0000)
        * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant.

ChangeLog
include/grub/efi/api.h

index d3950e2bcfb5d5066c950b0009da935a37bf7844..0fce113b629b8da0fdcaac6e28d5e357da57af25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-10  Tristan Gingold  <tristan.gingold@bull.net>
+
+       * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant.
+
 2006-10-05  Tristan Gingold  <tristan.gingold@bull.net>
 
        * kern/misc.c (grub_strtoull): Guess the base only if not
index 98f256e7061420efe5d1f49241d9ae2b45ecc628..2db3c6ed71c192de439edb84e6e3686cdecc4ff9 100644 (file)
@@ -167,7 +167,7 @@ typedef grub_uint16_t grub_efi_char16_t;
 typedef grub_efi_intn_t grub_efi_status_t;
 
 #define GRUB_EFI_ERROR_CODE(value)     \
-  ((1 << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
+  ((1L << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
 
 #define GRUB_EFI_WARNING_CODE(value)   (value)