Fixed build warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 14 Aug 2017 20:37:07 -0700
changeset 11298a063d87b2e59
parent 11297 905d34b4033c
child 11299 349866a6eba0
Fixed build warning
src/render/SDL_render.c
     1.1 --- a/src/render/SDL_render.c	Mon Aug 14 20:25:53 2017 -0700
     1.2 +++ b/src/render/SDL_render.c	Mon Aug 14 20:37:07 2017 -0700
     1.3 @@ -2178,7 +2178,7 @@
     1.4  SDL_GetBlendModeAlphaOperation(SDL_BlendMode blendMode)
     1.5  {
     1.6      blendMode = SDL_GetLongBlendMode(blendMode);
     1.7 -    return (SDL_BlendFactor)(((Uint32)blendMode >> 16) & 0xF);
     1.8 +    return (SDL_BlendOperation)(((Uint32)blendMode >> 16) & 0xF);
     1.9  }
    1.10  
    1.11  /* vi: set ts=4 sw=4 expandtab: */