diff options
Diffstat (limited to 'CPP/7zip/Compress/BZip2/BZip2CRC.h')
-rwxr-xr-x | CPP/7zip/Compress/BZip2/BZip2CRC.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/7zip/Compress/BZip2/BZip2CRC.h b/CPP/7zip/Compress/BZip2/BZip2CRC.h index 8ac2a504..981fe837 100755 --- a/CPP/7zip/Compress/BZip2/BZip2CRC.h +++ b/CPP/7zip/Compress/BZip2/BZip2CRC.h @@ -15,7 +15,7 @@ public: void Init() { _value = 0xFFFFFFFF; } void UpdateByte(Byte b) { _value = Table[(_value >> 24) ^ b] ^ (_value << 8); } void UpdateByte(unsigned int b) { _value = Table[(_value >> 24) ^ b] ^ (_value << 8); } - UInt32 GetDigest() const { return _value ^ 0xFFFFFFFF; } + UInt32 GetDigest() const { return _value ^ 0xFFFFFFFF; } }; class CBZip2CombinedCRC @@ -25,7 +25,7 @@ public: CBZip2CombinedCRC(): _value(0){}; void Init() { _value = 0; } void Update(UInt32 v) { _value = ((_value << 1) | (_value >> 31)) ^ v; } - UInt32 GetDigest() const { return _value ; } + UInt32 GetDigest() const { return _value ; } }; #endif |