changeset 29784:a71d9cd6f01f

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.
author reimar
date Thu, 05 Nov 2009 19:05:42 +0000
parents b8a8ebad6761
children 32058f70d93d
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Nov 05 18:53:05 2009 +0000
+++ b/configure	Thu Nov 05 19:05:42 2009 +0000
@@ -1577,7 +1577,7 @@
 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