From 4ce208159b4425f0af910630e74940fb0b8747b4 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sat, 31 Dec 2005 19:31:09 +0000 Subject: fixed int vs t_int svn path=/trunk/externals/creb/; revision=4334 --- modules/ffpoly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/ffpoly.c') diff --git a/modules/ffpoly.c b/modules/ffpoly.c index 023f29d..c325969 100644 --- a/modules/ffpoly.c +++ b/modules/ffpoly.c @@ -49,7 +49,7 @@ static void ffpoly_compute(t_ffpoly *x, t_floatarg fcoef) int in = (int)fcoef; int fo = x->x_field_order; int po = x->x_poly_order; - int* c = x->x_coef; + t_int* c = x->x_coef; int i, out; in %= fo; @@ -135,7 +135,7 @@ static void *ffpoly_new(t_floatarg fpolyorder, t_floatarg ffieldorder) x->x_poly_order = polyorder; x->x_field_order = fieldorder; - x->x_coef = (int *)malloc((x->x_poly_order + 1) * sizeof(int)); + x->x_coef = (t_int *)malloc((x->x_poly_order + 1) * sizeof(int)); /* set poly to f(x) = x */ ffpoly_coefficients(x, x->x_field_order); -- cgit v1.2.1