[MPlayer-cvslog] r21631 - in trunk/libass: ass_font.c ass_fontconfig.c

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sat Dec 16 20:56:50 CET 2006


On Saturday 16 December 2006 22:23, Dominik 'Rathann' Mierzejewski wrote:
> On Saturday, 16 December 2006 at 20:19, eugeni wrote:
> > Author: eugeni
> > Date: Sat Dec 16 20:19:27 2006
> > New Revision: 21631
> >
> > Modified:
> >    trunk/libass/ass_font.c
> >    trunk/libass/ass_fontconfig.c
> >
> > Log:
> > Avoid "pointer targets differ in signedness" warnings.
>
> Is it really OK to just cast the warning away? Maybe you should change the
> data type of the variable instead.

This data comes from strdup(), which returns char*, and is passed to 
FcFreeTypeQueryFace(), which requires unsigned char*. It has to be typecasted 
somewhere.



More information about the MPlayer-cvslog mailing list