diff options
author | N.N. <matju@users.sourceforge.net> | 2005-12-31 19:31:09 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2005-12-31 19:31:09 +0000 |
commit | 4ce208159b4425f0af910630e74940fb0b8747b4 (patch) | |
tree | d2272da42d2eb50f7726138f80794e0195639454 /modules/ffpoly.c | |
parent | eb459642fd79b40c768c80badc915213d78116fc (diff) |
fixed int vs t_int
svn path=/trunk/externals/creb/; revision=4334
Diffstat (limited to 'modules/ffpoly.c')
-rw-r--r-- | modules/ffpoly.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |