mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
cast to what's really expected
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23255 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
75e860c13c
commit
61ead76aad
@ -306,7 +306,7 @@ static int get_next_char(char **txt)
|
||||
c = (unsigned char)*(*txt)++;
|
||||
if (c >= 0x80) {
|
||||
if (menu_utf8)
|
||||
c = utf8_get_char((const char*)txt);
|
||||
c = utf8_get_char((const char**)txt);
|
||||
else if (menu_unicode)
|
||||
c = (c<<8) + (unsigned char)*(*txt)++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user