[MPlayer-dev-eng] [PATCH] fix compile with clang r150242

Diego Biurrun diego at biurrun.de
Sun Feb 26 15:40:32 CET 2012


On Fri, Feb 24, 2012 at 06:50:33PM -0500, compn wrote:
> passing a patch on from irc:
> -compn
> 
> sub/sub_cc.c:68:19: error: illegal character encoding in character literal
>   chartbl[0x2a] = 'á';
>                   ^
> --- sub/sub_cc.c	(revision 34760)
> +++ sub/sub_cc.c	(working copy)
> @@ -65,16 +65,16 @@
>    for (i = 0; i < 128; i++)
>      chartbl[i] = (char) i;
>    /* now the special codes */
> -  chartbl[0x2a] = 'á';
> +  chartbl[0x2a] = 0xe1;

What is the bug this supposedly fixes?

Diego


More information about the MPlayer-dev-eng mailing list