2003-08-11 17:21:10

by Dave Jones

[permalink] [raw]
Subject: [PATCH] LDM 64bit fixup

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/fs/partitions/ldm.h linux-2.5/fs/partitions/ldm.h
--- bk-linus/fs/partitions/ldm.h 2003-04-10 06:01:28.000000000 +0100
+++ linux-2.5/fs/partitions/ldm.h 2003-07-16 19:25:20.000000000 +0100
@@ -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 */