+2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Use explicit cast
+ rather than LL suffix.
+
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): Remove leftover.
typedef grub_efi_intn_t grub_efi_status_t;
#define GRUB_EFI_ERROR_CODE(value) \
- ((1LL << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
+ ((((grub_efi_status_t) 1) << (sizeof (grub_efi_status_t) * 8 - 1)) | (value))
#define GRUB_EFI_WARNING_CODE(value) (value)