[MPlayer-cvslog] r32906 - trunk/gui/skin/font.c

Diego Biurrun diego at biurrun.de
Thu Feb 17 12:26:24 CET 2011


On Wed, Feb 16, 2011 at 05:04:01PM +0100, Ingo Brückl wrote:
> Clément Boesch wrote on Wed, 16 Feb 2011 16:38:34 +0100:
> 
> >> +     gfree( (void **) &Fonts[i] );
> 
> > The cast seems useless (yes I know it's like that everywhere).
> 
> As there is no generic pointer-to-pointer type in C, it's to avoid a warning
> without explicit cast.

There is no warning, even when you remove the cast, just tested with
gui/interface.c.

Diego


More information about the MPlayer-cvslog mailing list