Fix harmless warning from the last commit
This is yet another fix related to recent wxBMPHandler changes: this one is trivial, as it just avoids gcc signed/unsigned comparison warning, but is still needed for the clean build. See #18634.
This commit is contained in:
@@ -1162,7 +1162,7 @@ bool wxBMPHandler::LoadDib(wxImage *image, wxInputStream& stream,
|
||||
//
|
||||
// Note: hardcode its size as struct BITMAPINFOHEADER is not defined on
|
||||
// non-MSW platforms.
|
||||
const size_t sizeBITMAPINFOHEADER = 40;
|
||||
const wxInt32 sizeBITMAPINFOHEADER = 40;
|
||||
if ( hdrSize > sizeBITMAPINFOHEADER )
|
||||
{
|
||||
if ( stream.SeekI(hdrSize - sizeBITMAPINFOHEADER, wxFromCurrent) == wxInvalidOffset )
|
||||
|
Reference in New Issue
Block a user