avcodec/xbmdec: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-03 22:07:54 +02:00
parent 56cc178485
commit bb605ef8ab
1 changed files with 2 additions and 2 deletions

View File

@ -50,9 +50,9 @@ static int parse_str_int(const uint8_t *p, int len, const uint8_t *key)
return INT_MIN;
for(; p<end; p++) {
char **eptr;
char *eptr;
int64_t ret = strtol(p, &eptr, 10);
if (eptr != p)
if ((const uint8_t *)eptr != p)
return ret;
}
return INT_MIN;