Avoid comparing unsigned values with < 0

This commit is contained in:
Paul Cornett
2019-04-05 10:12:27 -07:00
parent 1bba25c7ee
commit 691521e411
2 changed files with 3 additions and 3 deletions

View File

@@ -887,7 +887,7 @@ wxGIFErrorCode wxGIFDecoder::LoadGIF(wxInputStream& stream)
}
}
if (m_nFrames <= 0)
if (m_nFrames == 0)
{
Destroy();
return wxGIF_INVFORMAT;