From c9c61b9b5efd97301c267ea189ee1c3b8440da8f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 7 Nov 2015 16:53:35 +0100 Subject: Merging upstream version 1.4~pre1. Signed-off-by: Daniel Baumann --- lzip.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lzip.h') diff --git a/lzip.h b/lzip.h index 37209c8..7b4f591 100644 --- a/lzip.h +++ b/lzip.h @@ -69,9 +69,9 @@ const uint8_t magic_string[4] = { 0x4C, 0x5A, 0x49, 0x50 }; // "LZIP" struct File_header { - uint8_t data[6]; // 0-3 magic bytes - // 4 version - // 5 coded_dict_size + uint8_t data[6]; /* 0-3 magic bytes */ + /* 4 version */ + /* 5 coded_dict_size */ enum { size = 6 }; void set_magic() { std::memcpy( data, magic_string, 4 ); data[4] = 1; } @@ -111,9 +111,9 @@ struct File_header struct File_trailer { - uint8_t data[20]; // 0-3 CRC32 of the uncompressed data - // 4-11 size of the uncompressed data - // 12-19 member size including header and trailer + uint8_t data[20]; /* 0-3 CRC32 of the uncompressed data */ + /* 4-11 size of the uncompressed data */ + /* 12-19 member size including header and trailer */ enum { size = 20 }; -- cgit v1.2.3