Commit bb605ef8 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/xbmdec: fix pointer type warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 56cc1784
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment