[SCM] libav/experimental: configure: fix 64-bit test with clang

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:53:56 UTC 2013


The following commit has been merged in the experimental branch:
commit 58b3536dd540bbf6003716df649f4226ca51f553
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Nov 1 20:14:56 2009 +0000

    configure: fix 64-bit test with clang
    
    Originally committed as revision 20431 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index d534360..b876e66 100755
--- 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list