summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-05 19:05:42 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-05 19:05:42 +0000
commit9c0834b0f6c063602285eb6a8343a767955d27e6 (patch)
tree3e77400e879d4667e8fffa0590b6b7ccad44b58c /configure
parent4532c8ad2f8db6ed7320b907dba67b23de7972b1 (diff)
downloadmpv-9c0834b0f6c063602285eb6a8343a767955d27e6.tar.bz2
mpv-9c0834b0f6c063602285eb6a8343a767955d27e6.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29826 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 48840c9e27..5501ee19d9 100755
--- a/configure
+++ b/configure
@@ -1577,7 +1577,7 @@ test "$cc_fail" = yes && die "unsupported compiler version"
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