[MPlayer-cvslog] r38658 - trunk/sub/sub.c
cigaes
subversion at mplayerhq.hu
Sat Sep 21 12:30:16 EEST 2024
Author: cigaes
Date: Sat Sep 21 12:30:16 2024
New Revision: 38658
Log:
sub/sub: explicit pointer casts
Recent compilers consider implicit casts an error.
Modified:
trunk/sub/sub.c
Modified: trunk/sub/sub.c
==============================================================================
--- trunk/sub/sub.c Sat Sep 21 12:30:15 2024 (r38657)
+++ trunk/sub/sub.c Sat Sep 21 12:30:16 2024 (r38658)
@@ -727,7 +727,7 @@ static inline void vo_update_text_sub(mp
// reading the subtitle words from vo_sub->text[]
while (*t) {
if (sub_utf8)
- c = utf8_get_char(&t);
+ c = utf8_get_char((const char **)&t);
else if ((c = *t++) >= 0x80 && sub_unicode)
c = (c<<8) + *t++;
if (k==MAX_UCS){
More information about the MPlayer-cvslog
mailing list