[syslinux:master] btrfs: Suffix 64b macro
syslinux-bot for MartinS
ams at luminous.ludd.ltu.se
Mon Jan 5 17:48:08 PST 2015
Commit-ID: 88427076c14ca833ae3c67bef514ba8e81d9144c
Gitweb: http://www.syslinux.org/commit/88427076c14ca833ae3c67bef514ba8e81d9144c
Author: MartinS <ams at luminous.ludd.ltu.se>
AuthorDate: Thu, 27 Nov 2014 07:49:11 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Mon, 5 Jan 2015 20:43:13 -0500
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 at luminous.ludd.ltu.se>
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
core/fs/btrfs/btrfs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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_METADUMP (1ULL << 33)
More information about the Syslinux-commits
mailing list