gobj: Fix build error on Windows

This commit is contained in:
rdb 2020-12-28 12:07:17 +01:00
parent d39d40b1fc
commit 21aa31f8c0

View File

@ -313,7 +313,7 @@ read_data(unsigned char *data, size_t size, VertexDataSaveBlock *block) {
}
success = GetOverlappedResult(_handle, &overlapped, &bytes_read, false);
}
nassertr(bytes_read == size, nullptr);
nassertr(bytes_read == size, false);
double finish_time = ClockObject::get_global_clock()->get_real_time();
if (gobj_cat.is_debug()) {
gobj_cat.debug()