diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-05 19:05:42 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-11-05 19:05:42 +0000 |
commit | 9c0834b0f6c063602285eb6a8343a767955d27e6 (patch) | |
tree | 3e77400e879d4667e8fffa0590b6b7ccad44b58c | |
parent | 4532c8ad2f8db6ed7320b907dba67b23de7972b1 (diff) | |
download | mpv-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
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |