[MPlayer-cvslog] r32230 - trunk/configure

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Sep 14 20:28:53 CEST 2010


On Tue, Sep 14, 2010 at 11:47:08AM +0200, diego wrote:
> Author: diego
> Date: Tue Sep 14 11:47:08 2010
> New Revision: 32230
> 
> Log:
> Fix parameter types in swab() check; fixes the warnings:
> tmp.c:3: warning: null argument where non-null required (argument 1)
> tmp.c:3: warning: null argument where non-null required (argument 2)
> 
> Modified:
>    trunk/configure
> 
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure	Tue Sep 14 11:45:40 2010	(r32229)
> +++ trunk/configure	Tue Sep 14 11:47:08 2010	(r32230)
> @@ -3932,7 +3932,7 @@ echocheck "swab()"
>  cat > $TMPC << EOF
>  #define _XOPEN_SOURCE 600
>  #include <unistd.h>
> -int main(void) { swab(0, 0, 0); return 0; }
> +int main(void) { swab(NULL, NULL, 0); return 0; }

If that "fixes" those warnings, that's a compiler bug.


More information about the MPlayer-cvslog mailing list