Skip to contentSkip to conversation

postfix a NTFS constant with ULL

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 postfix a NTFS constant with ULL

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

cu
Adrian

fs/ntfs/layout.h renamed from fs/ntfs/layout.h.old +1 -1
@@ -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: