PropertySerialiser: add an explicit cast.

This commit is contained in:
Guillaume Jacquemin 2021-09-22 18:25:15 +02:00
parent f286ec0633
commit 10becfdc31

View file

@ -134,7 +134,7 @@ auto PropertySerialiser::readSet(BinaryReader& reader, const std::string& item_t
}
else {
for(UnsignedInt i = 0; i < count; i++) {
auto item = readItem(reader, item_type, -1, "");
auto item = readItem(reader, item_type, UnsignedLong(-1), "");
arrayAppend(array, std::move(item));
}
}