# HG changeset patch # User Matti Hamalainen # Date 1509846757 -7200 # Node ID c386d287fa1e4ad85a0d6e1b6e5ff6e6d96393aa # Parent a9afb2ad39cb43c2efc83d6113877e07a43228a7 Use Uint8 instead of int in the rle decoder. diff -r a9afb2ad39cb -r c386d287fa1e tools/lib64gfx.c --- 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++;