fixed some warnings.
This commit is contained in:
parent
36d05112d5
commit
f873946bd0
5 changed files with 14 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue