changeset 1412:c386d287fa1e

Use Uint8 instead of int in the rle decoder.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 05 Nov 2017 03:52:37 +0200
parents a9afb2ad39cb
children 0185bf5819c0
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Sun Nov 05 03:51:48 2017 +0200
+++ b/tools/lib64gfx.c	Sun Nov 05 03:52:37 2017 +0200
@@ -222,7 +222,7 @@
 
     while (src <= srcEnd && dst <= dstEnd)
     {
-        int c = *src++;
+        Uint8 c = *src++;
         if (c == rleMarker && src + 2 <= srcEnd)
         {
             int cnt = *src++;