# HG changeset patch # User cehoyos # Date 1210619048 0 # Node ID 3a715cb7f4b289b4eb9130b59679734722060564 # Parent 13191e6b439c494ab1a8f88bd0817034e71ffc75 Correct type for pcx_rle_decode(). Fixes icc warning #120: return value type does not match the function type diff -r 13191e6b439c -r 3a715cb7f4b2 pcx.c --- a/pcx.c Mon May 12 10:31:52 2008 +0000 +++ b/pcx.c Mon May 12 19:04:08 2008 +0000 @@ -42,7 +42,7 @@ /** * @return advanced src pointer */ -static const char *pcx_rle_decode(const uint8_t *src, uint8_t *dst, +static const uint8_t *pcx_rle_decode(const uint8_t *src, uint8_t *dst, unsigned int bytes_per_scanline) { unsigned int i = 0; unsigned char run, value;