sdl12-compat: added missing cast to assignment

From b5f7170c430f8c54f913caaea7c587dcec06bfc1 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 25 Aug 2021 20:20:02 +0300
Subject: [PATCH] added missing cast to assignment

---
 src/SDL12_compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index d672a9e..a00d3fa 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -5051,7 +5051,7 @@ SDL_UpdateRects(SDL12_Surface *surface12, int numrects, SDL12_Rect *rects12)
                 SDL20_UpperBlit(VideoSurface12->surface20, &rect20, VideoConvertSurface20, &dstrect20);
             } else {
                 const int cpy = rect20.w * pixsize;
-                char *dst = pixels;
+                char *dst = (char *) pixels;
                 const Uint8 *src = (((Uint8 *) surface12->pixels) + (rect20.y * srcpitch)) + (rect20.x * pixsize);
                 for (j = 0; j < rect20.h; j++) {
                     SDL20_memcpy(dst, src, cpy);