* include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Long constant.
+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
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)