From 050548d018fa350f7d67bbd9b1dac0b0c49720aa Mon Sep 17 00:00:00 2001 From: jrydberg Date: Tue, 10 Oct 2006 17:39:10 +0000 Subject: [PATCH] 2006-10-10 Tristan Gingold * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant. --- ChangeLog | 4 ++++ include/grub/efi/api.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d3950e2bc..0fce113b6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-10 Tristan Gingold + + * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant. + 2006-10-05 Tristan Gingold * kern/misc.c (grub_strtoull): Guess the base only if not diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index 98f256e70..2db3c6ed7 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -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)