From 4a05094c9a009707674c079c0481eaf8e1f8490f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 8 Oct 2011 17:22:41 +0000 Subject: converted float to t_float to support double-precision Pd, creb still needs to separate t_float and t_sample tho svn path=/trunk/externals/creb/; revision=15546 --- modules/permut~.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/permut~.c') diff --git a/modules/permut~.c b/modules/permut~.c index 7a4f101..402d007 100644 --- a/modules/permut~.c +++ b/modules/permut~.c @@ -93,7 +93,7 @@ static void permut_random(t_permut *x, t_floatarg seed) static void permut_bang(t_permut *x) { unsigned int r = rand(); - //permut_random(x, *((float *)(&r))); + //permut_random(x, *((t_float *)(&r))); permut_random(x, ((t_flint)r).f); } @@ -120,8 +120,8 @@ static t_int *permut_perform(t_int *w) { - t_float *in = (float *)(w[3]); - t_float *out = (float *)(w[4]); + t_float *in = (t_float *)(w[3]); + t_float *out = (t_float *)(w[4]); t_permutctl *ctl = (t_permutctl *)(w[1]); t_int i; t_int n = (t_int)(w[2]); -- cgit v1.2.1