From 6a0f30a1ce393b325f22dfe3fe821dd766dfe231 Mon Sep 17 00:00:00 2001 From: "Kevin Alavik (puffer)" Date: Tue, 9 Jul 2024 11:48:59 +0200 Subject: [PATCH 1/2] Fixed types Signed-off-by: Kevin Alavik (puffer) --- efi_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/efi_types.h b/efi_types.h index c56fb5e..ff110e9 100644 --- a/efi_types.h +++ b/efi_types.h @@ -6,8 +6,8 @@ typedef char efi_int8_t; typedef unsigned char efi_uint8_t; typedef short efi_int16_t; typedef unsigned short efi_uint16_t; -typedef efi_int efi_int32_t; -typedef unsigned efi_int efi_uint32_t; +typedef int efi_int32_t; +typedef unsigned int efi_uint32_t; #if defined(_X64) typedef long efi_int64_t; typedef unsigned long efi_uint64_t; -- 2.39.5 From c3148bf35ff8c8d6950c0e35c03895279f67ddd4 Mon Sep 17 00:00:00 2001 From: "Kevin Alavik (puffer)" Date: Tue, 9 Jul 2024 11:49:09 +0200 Subject: [PATCH 2/2] Update efilib.h Signed-off-by: Kevin Alavik (puffer) --- efilib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efilib.h b/efilib.h index 40e0750..5e79899 100644 --- a/efilib.h +++ b/efilib.h @@ -4,7 +4,7 @@ #include "efi.h" #include "efi_st.h" -#define EFI_ERROR(status) (((INTN)(status)) < 0) +#define EFI_ERROR(status) (((EFI_INTN)(status)) < 0) #endif /* EFI_EFILIB_H */ -- 2.39.5