configure: fix 64-bit test with clang
authorMåns Rullgård <mans@mansr.com>
Sun, 1 Nov 2009 20:14:56 +0000 (20:14 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 1 Nov 2009 20:14:56 +0000 (20:14 +0000)
Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index d534360d2f36f2e20dc3f43ca2cf8f2ced02b884..b876e66bb4014d5f5a7637b099a7f95a63533225 100755 (executable)
--- a/configure
+++ b/configure
@@ -1862,7 +1862,7 @@ case "$arch" in
         subarch="x86_32"
         enable fast_unaligned
         check_cc <<EOF && enable fast_64bit && subarch="x86_64" && spic=$shared
-        int test[sizeof(char*) - 7];
+        int test[(int)sizeof(char*) - 7];
 EOF
         if test "$subarch" = "x86_64"; then
             enable cmov