aboutsummaryrefslogtreecommitdiff
path: root/db/log_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/log_format.h')
-rw-r--r--db/log_format.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/log_format.h b/db/log_format.h
index 2690cb9789..a8c06efe18 100644
--- a/db/log_format.h
+++ b/db/log_format.h
@@ -26,8 +26,8 @@ static const int kMaxRecordType = kLastType;
static const int kBlockSize = 32768;
-// Header is checksum (4 bytes), type (1 byte), length (2 bytes).
-static const int kHeaderSize = 4 + 1 + 2;
+// Header is checksum (4 bytes), length (2 bytes), type (1 byte).
+static const int kHeaderSize = 4 + 2 + 1;
} // namespace log
} // namespace leveldb