aboutsummaryrefslogtreecommitdiff
path: root/modules/ffpoly.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ffpoly.c')
-rw-r--r--modules/ffpoly.c4
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);