diff options
Diffstat (limited to 'CPP/7zip/Archive/7z/7zHeader.cpp')
-rwxr-xr-x | CPP/7zip/Archive/7z/7zHeader.cpp | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/CPP/7zip/Archive/7z/7zHeader.cpp b/CPP/7zip/Archive/7z/7zHeader.cpp index f232a23e..5b5f2fb3 100755 --- a/CPP/7zip/Archive/7z/7zHeader.cpp +++ b/CPP/7zip/Archive/7z/7zHeader.cpp @@ -1,4 +1,4 @@ -// 7z/Header.cpp +// 7zHeader.cpp #include "StdAfx.h" #include "7zHeader.h" @@ -6,22 +6,9 @@ namespace NArchive { namespace N7z { -Byte kSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C}; +Byte kSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C}; #ifdef _7Z_VOL -Byte kFinishSignature[kSignatureSize] = {'7' + 1, 'z', 0xBC, 0xAF, 0x27, 0x1C + 1}; +Byte kFinishSignature[kSignatureSize] = {'7', 'z', 0xBC, 0xAF, 0x27, 0x1C + 1}; #endif -class SignatureInitializer -{ -public: - SignatureInitializer() - { - kSignature[0]--; - #ifdef _7Z_VOL - kFinishSignature[0]--; - #endif - }; -} g_SignatureInitializer; - }} - |