summaryrefslogtreecommitdiff
path: root/dbxrecover.d
diff options
context:
space:
mode:
Diffstat (limited to 'dbxrecover.d')
-rw-r--r--dbxrecover.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbxrecover.d b/dbxrecover.d
index 2a3292e..f3226e6 100644
--- a/dbxrecover.d
+++ b/dbxrecover.d
@@ -29,7 +29,7 @@ class Chunk
{
static bool differ(ChunkInfo info1, ChunkInfo info2, Stream s)
{
- if (memcmp(&info1, &info2, ChunkInfo.sizeof) !=0) return true;
+ if (memcmp(&info1, &info2, 8) !=0) return true;
if (data(info1, s) != data(info2, s)) return true;
return false;
}