aboutsummaryrefslogtreecommitdiff
path: root/modules/ffpoly.c
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2006-08-25 22:38:42 +0000
committerTom Schouten <doelie@users.sourceforge.net>2006-08-25 22:38:42 +0000
commit0c6ac2f761a2a8ddcde91a1afc80eeadfe2f0bc1 (patch)
treeab908d4b070c838049bc9593e5f8966d49a7775c /modules/ffpoly.c
parenta467b9c79ef47ad810f71dc0c59d685ac8cab132 (diff)
creb: removed garbage system/ and include/ files
svn path=/trunk/externals/creb/; revision=5742
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);