# HG changeset patch # User reimar # Date 1257447942 0 # Node ID a71d9cd6f01f07b533a2e7ac4a6ef2185f35ecf1 # Parent b8a8ebad676142d7f89230a33c0aa580576e68aa 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. diff -r b8a8ebad6761 -r a71d9cd6f01f configure --- 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