fixed some warnings.

This commit is contained in:
Christoph Oelckers 2023-12-10 13:31:50 +01:00
commit f873946bd0
5 changed files with 14 additions and 14 deletions

View file

@ -279,7 +279,7 @@ public:
if (len > 0)
{
Size length = mReader->Read(buffer.allocate(len), len);
if (length < len) buffer.allocate(length);
if ((size_t)length < len) buffer.allocate(length);
}
return buffer;
}