diff options
author | Tom Schouten <doelie@users.sourceforge.net> | 2006-08-15 15:11:52 +0000 |
---|---|---|
committer | Tom Schouten <doelie@users.sourceforge.net> | 2006-08-15 15:11:52 +0000 |
commit | 4a83a80c044c9613bd50a63dd9ac5a97e2c028b5 (patch) | |
tree | b424886f7e10d928a27ae16a64d577d749768a4d /modules/ffpoly.c | |
parent | 55ba904ccef240df1056157e4a376d4cb1eb476d (diff) |
creb 0.9.2 import
svn path=/trunk/externals/creb/; revision=5607
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 c325969..023f29d 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; - t_int* c = x->x_coef; + 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 = (t_int *)malloc((x->x_poly_order + 1) * sizeof(int)); + x->x_coef = (int *)malloc((x->x_poly_order + 1) * sizeof(int)); /* set poly to f(x) = x */ ffpoly_coefficients(x, x->x_field_order); |