fix warning
This commit is contained in:
@@ -82,7 +82,7 @@ SDL_Surface *RageSurface_Load_XPM( char * const *xpm, CString &error )
|
|||||||
const CString row = xpm[line++];
|
const CString row = xpm[line++];
|
||||||
if( (int) row.size() != width*color_length )
|
if( (int) row.size() != width*color_length )
|
||||||
{
|
{
|
||||||
error = ssprintf( "row %i is not expected length (%i != %i)", y, row.size(), width*color_length );
|
error = ssprintf( "row %i is not expected length (%i != %i)", y, int(row.size()), width*color_length );
|
||||||
SDL_FreeSurface( img );
|
SDL_FreeSurface( img );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user