Skip to contentSkip to conversation

LDM 64bit fixup

PATCH New [email protected] 1 participant 1 message Aug 11, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LDM 64bit fixup

fs/partitions/ldm.h +2 -2
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/fs/partitions/ldm.h linux-2.5/fs/partitions/ldm.h
@@ -38,8 +38,8 @@ struct parsed_partitions;
 /* Magic numbers in CPU format. */
 #define MAGIC_VMDB	0x564D4442		/* VMDB */
 #define MAGIC_VBLK	0x56424C4B		/* VBLK */
-#define MAGIC_PRIVHEAD	0x5052495648454144	/* PRIVHEAD */
-#define MAGIC_TOCBLOCK	0x544F43424C4F434B	/* TOCBLOCK */
+#define MAGIC_PRIVHEAD	0x5052495648454144ULL	/* PRIVHEAD */
+#define MAGIC_TOCBLOCK	0x544F43424C4F434BULL	/* TOCBLOCK */
 
 /* The defined vblk types. */
 #define VBLK_VOL5		0x51		/* Volume,     version 5 */