From f77813836de2824c419418005aecc39a2d813178 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 2 Oct 2020 00:23:08 +0200 Subject: [PATCH] express: Fix compile error on Windows --- panda/src/express/zipArchive.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }