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
@@ -639,7 +639,7 @@ RageSurface *RageDisplay::CreateSurfaceFromPixfmt( PixelFormat pixfmt,
return surf;
}
PixelFormat RageDisplay::FindPixelFormat( int iBPP, int iRmask, int iGmask, int iBmask, int iAmask, bool bRealtime )
PixelFormat RageDisplay::FindPixelFormat( int iBPP, unsigned iRmask, unsigned iGmask, unsigned iBmask, unsigned iAmask, bool bRealtime )
{
PixelFormatDesc tmp = { iBPP, { iRmask, iGmask, iBmask, iAmask } };