32-bit compile fix

This commit is contained in:
baldurk
2020-08-27 19:34:12 +01:00
parent 220ee1b3e6
commit 9c58c6adb2
+1 -1
View File
@@ -916,7 +916,7 @@ static ReplayStatus Buffers2ZIP(const rdcstr &filename, const RDCFile &file,
StreamReader *reader = file.ReadSection(i);
bytebuf log;
log.resize(reader->GetSize());
log.resize((size_t)reader->GetSize());
reader->Read(log.data(), log.size());
mz_zip_writer_add_mem(&zip, "diagnostic.log", log.data(), log.size(), MZ_BEST_SPEED);