Use int-size types instead of char where it makes no difference.

Originally committed as revision 19060 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-05-31 11:34:19 +00:00
parent 7a15b25827
commit 7c20421661

View File

@ -81,8 +81,8 @@ static unsigned int mszh_decomp(const unsigned char * srcptr, int srclen, unsign
unsigned char *destptr_bak = destptr;
unsigned char *destptr_end = destptr + destsize;
const unsigned char *srcptr_end = srcptr + srclen;
unsigned char mask = *srcptr++;
unsigned char maskbit = 0x80;
unsigned mask = *srcptr++;
unsigned maskbit = 0x80;
unsigned int ofs, cnt;
while (srcptr < srcptr_end && destptr < destptr_end) {