aboutsummaryrefslogtreecommitdiff
path: root/vmax.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmax.c')
-rw-r--r--vmax.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vmax.c b/vmax.c
index ac56423..2326a14 100644
--- a/vmax.c
+++ b/vmax.c
@@ -18,10 +18,10 @@ static void vmax_perform(t_vmax *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;
@@ -29,7 +29,7 @@ static void vmax_perform(t_vmax *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 *vmax_new( t_float halfDecayTime)