[MPlayer-cvslog] r29826 - trunk/configure

reimar subversion at mplayerhq.hu
Thu Nov 5 20:05:42 CET 2009


Author: reimar
Date: Thu Nov  5 20:05:42 2009
New Revision: 29826

Log:
Add cast to signed for 64 bit check, since according to an FFmpeg bug report
some compilers (llvm?) do not fail when arrays larger than the maximum
addressable size are declared but instead just silently generate broken code.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Nov  5 19:53:05 2009	(r29825)
+++ trunk/configure	Thu Nov  5 20:05:42 2009	(r29826)
@@ -1577,7 +1577,7 @@ test "$cc_fail" = yes && die "unsupporte
 if test -z "$_target" && x86 ; then
   cat > $TMPC << EOF
 int main(void) {
-    int test[sizeof(char *)-7];
+    int test[(int)sizeof(char *)-7];
     return 0;
 }
 EOF


More information about the MPlayer-cvslog mailing list