[MPlayer-cvslog] r23255 - trunk/libmenu/menu.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon May 7 21:57:39 CEST 2007


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.

Greetings,
Reimar Döffinger



More information about the MPlayer-cvslog mailing list