[2.5 patch] postfix a constant in efi.h with ULL

Adrian Bunk (bunk@fs.tum.de)
Mon, 23 Jun 2003 21:03:35 +0200


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

--- linux-2.5.73-not-full/fs/partitions/efi.h.old 2003-06-23 21:01:29.000000000 +0200
+++ linux-2.5.73-not-full/fs/partitions/efi.h 2003-06-23 21:01:42.000000000 +0200
@@ -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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/