PropertySerialiser: add an explicit cast.

This commit is contained in:
Guillaume Jacquemin 2021-09-22 18:25:15 +02:00
parent f286ec0633
commit 10becfdc31
1 changed files with 1 additions and 1 deletions

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