avcodec/xbmdec: fix pointer type warnings
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 20:07:54 +0000 (22:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2014 20:07:54 +0000 (22:07 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/xbmdec.c

index a2c3659..e03ff31 100644 (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;