3
0
forked from pool/util-linux
util-linux/util-linux-2.12r-partx_gpt_warning.patch

14 lines
497 B
Diff

Index: util-linux-2.12r/partx/gpt.h
===================================================================
--- util-linux-2.12r.orig/partx/gpt.h
+++ util-linux-2.12r/partx/gpt.h
@@ -36,7 +36,7 @@
#define MSDOS_MBR_SIGNATURE 0xaa55
#define GPT_BLOCK_SIZE 512
-#define GPT_HEADER_SIGNATURE 0x5452415020494645
+#define GPT_HEADER_SIGNATURE 0x5452415020494645LL
#define GPT_HEADER_REVISION_V1_02 0x00010200
#define GPT_HEADER_REVISION_V1_00 0x00010000
#define GPT_HEADER_REVISION_V0_99 0x00009900