[BUG] [GCC] warning: comparison fix 1
This commit is contained in:
parent
ba933a6f80
commit
400c327ee1
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ FileData F7ZFile::Read(uint32_t entry)
|
|||
FileReader F7ZFile::GetEntryReader(uint32_t entry, int, int)
|
||||
{
|
||||
FileReader fr;
|
||||
if (entry < 0 || entry >= NumLumps) return fr;
|
||||
if (entry >= NumLumps) return fr;
|
||||
auto buffer = Read(entry);
|
||||
if (buffer.size() > 0)
|
||||
fr.OpenMemoryArray(buffer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue