changeset 1820:bea67833b9fa

Oops, need to deconstify the "count" argument of dmEncodeGenericRLESequence() as we now modify it inside.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 22 Jun 2018 09:59:40 +0300
parents c12bd223000e
children ee2383d1a21e
files tools/lib64gfx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri Jun 22 09:57:04 2018 +0300
+++ b/tools/lib64gfx.c	Fri Jun 22 09:59:40 2018 +0300
@@ -549,7 +549,7 @@
 }
 
 
-int dmEncodeGenericRLESequence(DMGrowBuf *dst, const Uint8 data, const unsigned int count, const DMCompParams *cfg)
+int dmEncodeGenericRLESequence(DMGrowBuf *dst, const Uint8 data, unsigned int count, const DMCompParams *cfg)
 {
     BOOL copyOnly = FALSE;
     int res;