summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-14 22:06:59 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-05-14 22:06:59 +0000
commitb7c5a2b98d9610712dc0aed4459769e9a141eac2 (patch)
tree5bab43a1a8f889c573a82945b607807a674d5880 /subreader.c
parent82bcbf62afb9d75d0364c28bd43e3dcd39e78adc (diff)
downloadmpv-b7c5a2b98d9610712dc0aed4459769e9a141eac2.tar.bz2
mpv-b7c5a2b98d9610712dc0aed4459769e9a141eac2.tar.xz
Fix:
subreader.c:1333: warning: assignment discards qualifiers from pointer target type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18515 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r--subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c
index 7402c97e9d..f43c5f44be 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1325,7 +1325,7 @@ void* guess_cp(stream_t *st, char *preferred_language, char *fallback)
mp_msg(MSGT_SUBREADER, MSGL_V, "\n");
for (i = 0; i < langcnt; i++) {
- char *tmp;
+ const char *tmp;
if (strcasecmp(languages[i], preferred_language) != 0) continue;
analyser = enca_analyser_alloc(languages[i]);