Browse Source

avcodec/xbmdec: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
bb605ef8ab
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/xbmdec.c

+ 2
- 2
libavcodec/xbmdec.c 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;


Loading…
Cancel
Save