Fix type mismatch - dedup - deduplicating backup program
(HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit 399913dfb11118676faa5baa979ed62369a4de3e
(DIR) parent 9155c685452c0b123472016b01acda1d2fedd1eb
(HTM) Author: sin <sin@2f30.org>
Date: Tue, 21 May 2019 14:42:53 +0300
Fix type mismatch
Diffstat:
M bstorage.c | 2 +-
M snap.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
(DIR) 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
(DIR) 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