flac from CVS crashes on 64bit architectures, both encoding and
decoding fails. This patch fixes the problem, but more casting is
required to remove compiler warnings.

--- src/libFLAC/lpc.c   4 Apr 2007 00:59:28 -0000       1.61
+++ src/libFLAC/lpc.c   27 May 2007 16:14:01 -0000
@@ -303,7 +303,7 @@
 }
 #else /* fully unrolled version for normal use */
 {
-       unsigned i;
+       int i;
        FLAC__int32 sum;
 
        FLAC__ASSERT(order > 0);
@@ -833,7 +833,7 @@
 }
 #else /* fully unrolled version for normal use */
 {
-       unsigned i;
+       int i;
        FLAC__int32 sum;
 
        FLAC__ASSERT(order > 0);

-- 
Miroslav Lichvar
_______________________________________________
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to