Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
Fixed issue with GetUncompressedLengthStream
Browse files Browse the repository at this point in the history
  • Loading branch information
lenhardt committed Jun 30, 2014
1 parent a1d2d2d commit 009c4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompress.cc
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ bool Gipfeli::GetUncompressedLengthStream(
*result = 0;
for (int i = bytes_used - 1; i >= 0; --i) {
*result <<= 8;
*result |= *(ip + i);
*result |= static_cast<unsigned char>(*(ip + i));
}

// Uncompressed string can have at most (2 GB - 1).
Expand Down

0 comments on commit 009c4f0

Please sign in to comment.