diff --git a/panda/src/express/zipArchive.cxx b/panda/src/express/zipArchive.cxx index 3e0f84f105..2da313a6b0 100644 --- a/panda/src/express/zipArchive.cxx +++ b/panda/src/express/zipArchive.cxx @@ -1495,7 +1495,7 @@ read_index(std::istream &read) { _data_length = reader.get_uint64(); size_left -= 8; } - if (_header_start == 0xffffffffu && size_left >= 8) { + if ((uint64_t)_header_start == 0xffffffffu && size_left >= 8) { _header_start = reader.get_uint64(); size_left -= 8; }