From 7d41c2213b5070d444fa17cdb04eeb9fdc955309 Mon Sep 17 00:00:00 2001 From: Katja Date: Sun, 6 Nov 2011 15:38:24 +0000 Subject: made smlib compliant with double precision svn path=/trunk/externals/smlib/; revision=15707 --- vnmax.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnmax.c') diff --git a/vnmax.c b/vnmax.c index 7003f6d..ad8c97f 100644 --- a/vnmax.c +++ b/vnmax.c @@ -21,10 +21,10 @@ static void vnmax_perform(t_vnmax *x, t_symbol *s, int argc, t_atom *argv) { int i; int maxi; - float max=-MAXFLOAT; + t_float max=-MAXFLOAT; for (i = 0; i < argc; i++) { - float f=atom_getfloat(&argv[i]); + t_float f=atom_getfloat(&argv[i]); if (f>max) { max=f; @@ -32,7 +32,7 @@ static void vnmax_perform(t_vnmax *x, t_symbol *s, int argc, t_atom *argv) } } outlet_float(x->x_obj.ob_outlet, max); - outlet_float(x->m_out_maxi, (float)(maxi+1)); + outlet_float(x->m_out_maxi, (t_float)(maxi+1)); } static void *vnmax_new( t_float halfDecayTime) -- cgit v1.2.1