Displaying 2 results from an estimated 2 matches for "1568e4d".
Did you mean:
15684
2014 Nov 15
0
[PATCH] BTRFS_MAGIC_N is a 64bit value
gcc complains about the size of the constant of BTRFS_MAGIC_N.
It is a 64bit value, so it needs the ULL suffix.
Signed-off-by: MartinS <ams at ludd.ltu.se>
---
diff --git a/core/fs/btrfs/btrfs.h b/core/fs/btrfs/btrfs.h
index 1568e4d..8f519a9 100644
--- a/core/fs/btrfs/btrfs.h
+++ b/core/fs/btrfs/btrfs.h
@@ -32,7 +32,7 @@ typedef u64 __le64;
#define BTRFS_MAGIC "_BHRfS_M"
#define BTRFS_MAGIC_L 8
-#define BTRFS_MAGIC_N 0x4d5f53665248425f
+#define BTRFS_MAGIC_N 0x4d5f53665248425fULL
#define BTRFS_SUPER_FLAG_METAD...
2014 Nov 15
0
core/fs/btrfs/btrfs.h correction
gcc complains about the size of the constant of BTRFS_MAGIC_N. It is a
64bit value, so it needs the ULL suffix.
diff --git a/core/fs/btrfs/btrfs.h b/core/fs/btrfs/btrfs.h
index 1568e4d..8f519a9 100644
--- a/core/fs/btrfs/btrfs.h
+++ b/core/fs/btrfs/btrfs.h
@@ -32,7 +32,7 @@ typedef u64 __le64;
#define BTRFS_MAGIC "_BHRfS_M"
#define BTRFS_MAGIC_L 8
-#define BTRFS_MAGIC_N 0x4d5f53665248425f
+#define BTRFS_MAGIC_N 0x4d5f53665248425fULL
#define BTRFS_SUPER_FLAG_METAD...