0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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
This commit is contained in:
reimar 2009-11-05 19:05:42 +00:00
parent 4532c8ad2f
commit 9c0834b0f6

2
configure vendored
View File

@ -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