Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
fix #111
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Apr 9, 2019
1 parent 0b9967e commit 6a5ceef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lepton/jpgcoder.cc
Expand Up @@ -4163,7 +4163,7 @@ bool read_ujpg( void )
Sirikata::BrotliCodec::Decompress(compressed_header_buffer.data(),
compressed_header_buffer.size(),
JpegAllocator<uint8_t>(),
max_file_size * 2 + 128 * 1024 * 1024));
((size_t)max_file_size) * 2 + 128 * 1024 * 1024));
if (uncompressed_header_buffer.second) {
always_assert(false && "Data not properly zlib coded");
return false;
Expand Down

0 comments on commit 6a5ceef

Please sign in to comment.