changeset 2190:0447f4c6c32b

Fix a const discard issue.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 13 Jun 2019 07:52:17 +0300
parents 83391646ff16
children 488130151097
files tools/lib64fmts.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64fmts.c	Thu Jun 13 07:49:45 2019 +0300
+++ b/tools/lib64fmts.c	Thu Jun 13 07:52:17 2019 +0300
@@ -1381,7 +1381,8 @@
         for (int yc = 0; yc < fmt->format->chHeight * 8; yc++)
         {
             const int yd = yc % 21;
-            Uint8 *sp1, *sp2, *dp, *sprPtrs = fmtCrestSHFLI_Sprite_pointers[yc % 8];
+            const Uint8 *sprPtrs = fmtCrestSHFLI_Sprite_pointers[yc % 8];
+            Uint8 *sp1, *sp2, *dp;
 
             dptr = dstBuf + 3 * yd;
             sp1 = mem.data + imgWidth * yc;