war on -Werror, part 3: narrowing conversions

This commit is contained in:
Devin J. Pohly
2012-12-26 21:12:12 -05:00
parent 7aac8c5ae3
commit 58aa480016
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -380,7 +380,7 @@ public:
void ChangeCentering( int trans_x, int trans_y, int add_width, int add_height );
RageSurface *CreateSurfaceFromPixfmt( PixelFormat pixfmt, void *pixels, int width, int height, int pitch );
PixelFormat FindPixelFormat( int bpp, int Rmask, int Gmask, int Bmask, int Amask, bool realtime=false );
PixelFormat FindPixelFormat( int bpp, unsigned Rmask, unsigned Gmask, unsigned Bmask, unsigned Amask, bool realtime=false );
// Lua
void PushSelf( lua_State *L );