diff options
author | musil <tmusil@users.sourceforge.net> | 2006-11-07 17:11:40 +0000 |
---|---|---|
committer | musil <tmusil@users.sourceforge.net> | 2006-11-07 17:11:40 +0000 |
commit | dc2fd29b378aae1597fdc1954da0e01f75816bd4 (patch) | |
tree | adfb76ff53fe1f6f749ff2bf14f4e4b4a90cd36e /src/iemlib2/toggle_mess.c | |
parent | 31b7b9b1885e9ecd9f47602c1b571df34e18622b (diff) |
makefile_win makefile_linux update
we dont need #if MSW_VER
chanched float to t_float
svn path=/trunk/externals/iemlib/; revision=6221
Diffstat (limited to 'src/iemlib2/toggle_mess.c')
-rw-r--r-- | src/iemlib2/toggle_mess.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/iemlib2/toggle_mess.c b/src/iemlib2/toggle_mess.c index ac35100..c884064 100644 --- a/src/iemlib2/toggle_mess.c +++ b/src/iemlib2/toggle_mess.c @@ -3,16 +3,9 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 */ -#ifdef _MSC_VER -#pragma warning( disable : 4244 ) -#pragma warning( disable : 4305 ) -#endif #include "m_pd.h" #include "iemlib.h" -#include <stdlib.h> -#include <string.h> -#include <stdio.h> /* ------------------------ toggle_mess ---------------------------- */ /* -- inital arguments building a set of messages, any incomming --- */ @@ -36,7 +29,7 @@ static void toggle_mess_bang(t_toggle_mess *x) { int i = x->x_index; - outlet_float(x->x_out_rght_flt, (float)i); + outlet_float(x->x_out_rght_flt, (t_float)i); if(IS_A_FLOAT(x->x_at, i)) outlet_float(x->x_out_mid_sym, atom_getfloat(&x->x_at[i])); else @@ -44,7 +37,7 @@ static void toggle_mess_bang(t_toggle_mess *x) outlet_anything(x->x_obj.ob_outlet, x->x_set, 1, &x->x_at[i]); } -static void toggle_mess_float(t_toggle_mess *x, t_float f) +static void toggle_mess_float(t_toggle_mess *x, t_floatarg f) { x->x_index++; if(x->x_index >= x->x_ac) |