Mercurial > libavcodec.hg
diff pcx.c @ 6793:3a715cb7f4b2 libavcodec
Correct type for pcx_rle_decode().
Fixes icc warning #120: return value type does not match the function
type
author | cehoyos |
---|---|
date | Mon, 12 May 2008 19:04:08 +0000 |
parents | 6eeb19edcee3 |
children | e943e1409077 |
line wrap: on
line diff
--- 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;