diff tools/lib64gfx.c @ 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 7bafe5f0998d
children ee2383d1a21e
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;