[2.5 patch] postfix a NTFS constant with ULL

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sun Jun 22 2003 - 19:35:11 EST


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:

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:39 EST