[MPlayer-cvslog] r23255 - trunk/libmenu/menu.c
Benjamin Zores
ben at geexbox.org
Mon May 7 22:35:39 CEST 2007
Reimar Döffinger a écrit :
> Hello,
> On Mon, May 07, 2007 at 09:48:15PM +0200, ben wrote:
>> Author: ben
>> Date: Mon May 7 21:48:15 2007
>> New Revision: 23255
>>
>> Log:
>> cast to what's really expected
>>
>> Modified:
>> trunk/libmenu/menu.c
>>
>> Modified: trunk/libmenu/menu.c
>> ==============================================================================
>> --- trunk/libmenu/menu.c (original)
>> +++ trunk/libmenu/menu.c Mon May 7 21:48:15 2007
>> @@ -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);
>
> Why do you have that cast anyway? Seems really pointless to me.
utf8_get_char requires a const, it just kills a warning.
Ben
More information about the MPlayer-cvslog
mailing list