fix warning

This commit is contained in:
Steve Checkoway
2004-05-22 06:19:54 +00:00
parent 07557c7531
commit 4f2f1b46ae
+1 -1
View File
@@ -82,7 +82,7 @@ SDL_Surface *RageSurface_Load_XPM( char * const *xpm, CString &error )
const CString row = xpm[line++];
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 );
return NULL;
}