From 4f2f1b46ae53d68c1b37efa3392580bfeac64472 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 22 May 2004 06:19:54 +0000 Subject: [PATCH] fix warning --- stepmania/src/RageSurface_Load_XPM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSurface_Load_XPM.cpp b/stepmania/src/RageSurface_Load_XPM.cpp index 265762c385..0166aec609 100644 --- a/stepmania/src/RageSurface_Load_XPM.cpp +++ b/stepmania/src/RageSurface_Load_XPM.cpp @@ -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; }