Avoid comparing unsigned values with < 0
This commit is contained in:
@@ -887,7 +887,7 @@ wxGIFErrorCode wxGIFDecoder::LoadGIF(wxInputStream& stream)
|
||||
}
|
||||
}
|
||||
|
||||
if (m_nFrames <= 0)
|
||||
if (m_nFrames == 0)
|
||||
{
|
||||
Destroy();
|
||||
return wxGIF_INVFORMAT;
|
||||
|
||||
Reference in New Issue
Block a user