mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
* include/grub/efi/api.h (GRUB_EFI_ERROR_CODE): Use explicit cast
rather than LL suffix.
This commit is contained in:
1 parent
e8c360ca4a
commit
b3aea1bc26
2 files changed
+6
-1
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2013-12-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): Remove leftover.
|
* include/grub/efi/api.h (PRIxGRUB_EFI_UINTN_T): Remove leftover.
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ typedef grub_uint16_t grub_efi_char16_t;
|
|||||||
typedef grub_efi_intn_t grub_efi_status_t;
|
typedef grub_efi_intn_t grub_efi_status_t;
|
||||||
|
|
||||||
#define GRUB_EFI_ERROR_CODE(value) \
|
#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)
|
#define GRUB_EFI_WARNING_CODE(value) (value)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user