summaryrefslogtreecommitdiff
path: root/libavformat/cutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/cutils.c')
-rw-r--r--libavformat/cutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/cutils.c b/libavformat/cutils.c
index ce2c845226..3e46533c6b 100644
--- a/libavformat/cutils.c
+++ b/libavformat/cutils.c
@@ -60,7 +60,7 @@ int stristart(const char *str, const char *val, const char **ptr)
p = str;
q = val;
while (*q != '\0') {
- if (toupper(*(unsigned char *)p) != toupper(*(unsigned char *)q))
+ if (toupper(*(const unsigned char *)p) != toupper(*(const unsigned char *)q))
return 0;
p++;
q++;