From 1f21484bdd2c0e97b17899176c4e88067432308b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 3 Oct 2013 03:31:05 -0700 Subject: [PATCH] Fixed const/non-const warning --- src/render/SDL_yuv_sw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/render/SDL_yuv_sw.c b/src/render/SDL_yuv_sw.c index a978d4b36d491..14b825d9cce5a 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;