summaryrefslogtreecommitdiff
path: root/libavcodec/xbmdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-03 22:07:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-03 22:07:54 +0200
commitbb605ef8ab60fa5f8d961bf14417bed575d9da1d (patch)
tree82a36585eb8db30cc296bd9fd29bde85bbd5208a /libavcodec/xbmdec.c
parent56cc178485263684ac26e8dc70af6894214459c9 (diff)
downloadffmpeg-bb605ef8ab60fa5f8d961bf14417bed575d9da1d.tar.gz
avcodec/xbmdec: fix pointer type warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/xbmdec.c')
-rw-r--r--libavcodec/xbmdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/xbmdec.c b/libavcodec/xbmdec.c
index a2c36595e9..e03ff31fbb 100644
--- a/libavcodec/xbmdec.c
+++ b/libavcodec/xbmdec.c
@@ -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;