# HG changeset patch # User vitor # Date 1216335772 0 # Node ID 4f1d8431e96c9b0677a306f3e593448d6228166c # Parent 04a3625bf2a6f1605deb887c0268637e85f7fec1 Declare parameters of pred() that could be const as such diff -r 04a3625bf2a6 -r 4f1d8431e96c ra288.c --- a/ra288.c Thu Jul 17 23:01:31 2008 +0000 +++ b/ra288.c Thu Jul 17 23:02:52 2008 +0000 @@ -97,7 +97,7 @@ *(tgt++) = (*(m1++)) * (*(m2++)); } -static int pred(float *in, float *tgt, int n) +static int pred(const float *in, float *tgt, int n) { int x, y; double f0, f1, f2;