# HG changeset patch # User gpoirier # Date 1231246295 0 # Node ID 93a3020d9636c07ab778ea1d69bd59a9f383a808 # Parent 87450160a913ff8f3450f3286cc7ff8430a37ca8 Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h (parameter 'len' is a long not an int). Patch by David Conrad % lessen42 A gmail P com % diff -r 87450160a913 -r 93a3020d9636 ppc/float_altivec.c --- a/ppc/float_altivec.c Tue Jan 06 10:44:45 2009 +0000 +++ b/ppc/float_altivec.c Tue Jan 06 12:51:35 2009 +0000 @@ -184,7 +184,7 @@ return vec_packs(t0,t1); } -static void float_to_int16_altivec(int16_t *dst, const float *src, int len) +static void float_to_int16_altivec(int16_t *dst, const float *src, long len) { int i; vector signed short d0, d1, d;