Skip to contentSkip to conversation

postfix a constant in efi.h with ULL

PATCH New Adrian Bunk 1 participant 1 message Jun 23, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postfix a constant in efi.h with ULL

The patch below postfixes a constant in efi.h with ULL, on 32 bit archs this constant is too big for an int.

cu
Adrian

fs/partitions/efi.h renamed from fs/partitions/efi.h.old +1 -1
@@ -40,7 +40,7 @@
 #define EFI_PMBR_OSTYPE_EFI_GPT 0xEE
 
 #define GPT_BLOCK_SIZE 512
-#define GPT_HEADER_SIGNATURE 0x5452415020494645L
+#define GPT_HEADER_SIGNATURE 0x5452415020494645ULL
 #define GPT_HEADER_REVISION_V1 0x00010000
 #define GPT_PRIMARY_PARTITION_TABLE_LBA 1