2003-06-23 00:21:09

by Adrian Bunk

[permalink] [raw]
Subject: [2.5 patch] postfix a NTFS constant with ULL

The patch below postfixes a NTFS constant that is too big for an int
with ULL.

cu
Adrian

--- linux-2.5.73-not-full/fs/ntfs/layout.h.old 2003-06-23 02:27:30.000000000 +0200
+++ linux-2.5.73-not-full/fs/ntfs/layout.h 2003-06-23 02:27:51.000000000 +0200
@@ -43,7 +43,7 @@
#define const_cpu_to_le64(x) __constant_cpu_to_le64(x)

/* The NTFS oem_id */
-#define magicNTFS const_cpu_to_le64(0x202020205346544e) /* "NTFS " */
+#define magicNTFS const_cpu_to_le64(0x202020205346544eULL) /* "NTFS " */

/*
* Location of bootsector on partition: