[Ffmpeg-devel] [PATCH] pointer targets differ in signedness

Rich Felker dalias
Mon Sep 11 05:34:10 CEST 2006


On Sun, Sep 10, 2006 at 08:49:08PM +0100, M?ns Rullg?rd wrote:
> matthieu castet <castet.matthieu at free.fr> writes:
> 
> > M?ns Rullg?rd wrote:
> >> Luca Barbato <lu_zero at gentoo.org> writes:
> >>
> >>>M?ns Rullg?rd wrote:
> >>>
> >>>>This patch gets rid of many of the "pointer targets differ in
> >>>>signedness" warnings generated by gcc4.
> >>>>
> >>>>Please, can those with knowledge of the files listed below check that
> >>>>I didn't do something stupid?  Needless to say, regression tests pass
> >>>>with these changes.
> >>>
> >>>since the warn is stupid I expect this.
> >>>
> >>>did you check that is is ok on different arches? (the ones with signed
> >>>or unsigned char as default)
> >> I don't know of an arch that has unsigned char as default.
> >>
> > PPC is one of them : I remember asking me with getopt wasn't returning -1...
> 
> I don't have a PPC.

GCC has a compiler flag to override default signedness for char.

Rich





More information about the ffmpeg-devel mailing list