diff --git a/src/render/SDL_yuv_sw.c b/src/render/SDL_yuv_sw.c index a978d4b36..14b825d9c 100644 --- a/src/render/SDL_yuv_sw.c +++ b/src/render/SDL_yuv_sw.c @@ -1190,7 +1190,8 @@ SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect, const Uint8 *Uplane, int Upitch, const Uint8 *Vplane, int Vpitch) { - Uint8 *src, *dst; + const Uint8 *src; + Uint8 *dst; int row; size_t length;