[MPlayer-cvslog] r34290 - trunk/configure

diego subversion at mplayerhq.hu
Thu Nov 3 15:23:17 CET 2011


Author: diego
Date: Thu Nov  3 15:23:17 2011
New Revision: 34290

Log:
configure: add braces to initializer in vsscanf test to shut up a gcc warning

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Nov  3 15:23:14 2011	(r34289)
+++ trunk/configure	Thu Nov  3 15:23:17 2011	(r34290)
@@ -3843,7 +3843,7 @@ cat > $TMPC << EOF
 #define _ISOC99_SOURCE
 #include <stdarg.h>
 #include <stdio.h>
-int main(void) { va_list ap = { 0 }; vsscanf("foo", "bar", ap); return 0; }
+int main(void) { va_list ap = { { 0 } }; vsscanf("foo", "bar", ap); return 0; }
 EOF
 cc_check || { vsscanf=no ; def_vsscanf='#undef HAVE_VSSCANF' ; }
 echores "$vsscanf"


More information about the MPlayer-cvslog mailing list