aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartinS <ams@luminous.ludd.ltu.se>2014-11-27 07:49:11 -0500
committerGene Cumm <gene.cumm@gmail.com>2015-01-05 20:43:13 -0500
commit88427076c14ca833ae3c67bef514ba8e81d9144c (patch)
treec15dc27b847aeb7b93d36a78a86b35dc548055cb
parent4c6e09ef8598244d57635a051ad6d2f13552828c (diff)
downloadsyslinux-88427076c14ca833ae3c67bef514ba8e81d9144c.tar.gz
syslinux-88427076c14ca833ae3c67bef514ba8e81d9144c.tar.xz
syslinux-88427076c14ca833ae3c67bef514ba8e81d9144c.zip
btrfs: Suffix 64b macro
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@luminous.ludd.ltu.se> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--core/fs/btrfs/btrfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/btrfs/btrfs.h b/core/fs/btrfs/btrfs.h
index 1568e4de..8f519a9c 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_METADUMP (1ULL << 33)