Fixed build warning

This commit is contained in:
Sam Lantinga committed 2017-08-14 20:37:07 -07:00
1 parent e086a1c183
commit 04e76499ea
1 file changed
+1 -1
+1 -1
View File
@@ -2178,7 +2178,7 @@ SDL_BlendOperation
SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode)
{
blendMode = SDL_GetLongBlendMode(blendMode);
return (SDL_BlendFactor)(((Uint32)blendMode >> 16) & 0xF);
return (SDL_BlendOperation)(((Uint32)blendMode >> 16) & 0xF);
}
/* vi: set ts=4 sw=4 expandtab: */