diff --git a/src/resource_item.cpp b/src/resource_item.cpp index b6dc464..453a543 100644 --- a/src/resource_item.cpp +++ b/src/resource_item.cpp @@ -163,7 +163,7 @@ const std::vector ResourceItem::SplitValue() const void ResourceItem::CheckData() { int8_t data[GetDataLength()]; - for (int i = 0; i < GetDataLength(); i++) { + for (uint32_t i = 0; i < GetDataLength(); i++) { data[i] = GetData()[i]; } if (data[GetDataLength() - 1] == '\0') {