aboutsummaryrefslogtreecommitdiff
path: root/modules/dwt.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dwt.c')
-rw-r--r--modules/dwt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dwt.c b/modules/dwt.c
index caa75ff..327732c 100644
--- a/modules/dwt.c
+++ b/modules/dwt.c
@@ -190,9 +190,9 @@ static void dwt_permutation(t_dwt *x, t_int n){
/* debug */
for(k=0; k<n; k++)
- printf("clutter[%d] = %d\n", k, ctl->c_clutter[k]);
+ printf("clutter[%ld] = %ld\n", k, ctl->c_clutter[k]);
for(k=0; k<n; k++)
- printf("unclutter[%d] = %d\n", k, ctl->c_unclutter[k]);
+ printf("unclutter[%ld] = %ld\n", k, ctl->c_unclutter[k]);
exit(1);
}
@@ -234,7 +234,7 @@ static void dwt_filter(t_dwt *x, t_symbol *s, int argc, t_atom *argv)
float *ufilter = x->x_ctl.c_update;
float *mask = NULL;
- int *length = NULL;
+ t_int *length = NULL;
float sum = 0;
if (s == gensym("predict"))