Skip to contentSkip to conversation

postfix two ldm.h constants with ULL

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postfix two ldm.h constants with ULL

The patch below postfixes two constants in fs/partitions/ldm.h that are on 32 bit archs too big for an int with ULL.

cu
Adrian

fs/partitions/ldm.h renamed from fs/partitions/ldm.h.old +2 -2
@@ -38,8 +38,8 @@
 /* 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 */