commit 399913dfb11118676faa5baa979ed62369a4de3e
parent 9155c685452c0b123472016b01acda1d2fedd1eb
Author: sin <sin@2f30.org>
Date: Tue, 21 May 2019 14:42:53 +0300
Fix type mismatch
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bstorage.c b/bstorage.c
@@ -31,7 +31,7 @@
/* block header constants */
#define BHDRMAGIC "DEDUPDIDUPDIDUP"
-#define NBHDRMAGIC sizeof(BHDRMAGIC)
+#define NBHDRMAGIC 16
#define VMIN 0
#define VMAJ 1
diff --git a/snap.c b/snap.c
@@ -27,7 +27,7 @@
/* snapshot header constants */
#define SHDRMAGIC "SNAPSNAPPYSNOOP"
-#define NSHDRMAGIC sizeof(SHDRMAGIC)
+#define NSHDRMAGIC 16
#define VMIN 0
#define VMAJ 1