Mercurial > libavcodec.hg
changeset 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 | 13191e6b439c |
children | ba5913f27124 |
files | pcx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;