express: Fix compile error on Windows

This commit is contained in:
rdb 2020-10-02 00:23:08 +02:00
parent f0791e266b
commit f77813836d

View File

@ -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;
}