From dc2fd29b378aae1597fdc1954da0e01f75816bd4 Mon Sep 17 00:00:00 2001 From: musil Date: Tue, 7 Nov 2006 17:11:40 +0000 Subject: makefile_win makefile_linux update we dont need #if MSW_VER chanched float to t_float svn path=/trunk/externals/iemlib/; revision=6221 --- src/iemlib2/modulo_counter.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/iemlib2/modulo_counter.c') diff --git a/src/iemlib2/modulo_counter.c b/src/iemlib2/modulo_counter.c index 65bfb17..d009293 100644 --- a/src/iemlib2/modulo_counter.c +++ b/src/iemlib2/modulo_counter.c @@ -3,17 +3,8 @@ 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 -#include -#include -#include /* ---------------- modulo-counter. ----------------- */ /* -------- counter increments if input a bang ------ */ @@ -34,7 +25,7 @@ static void modulo_counter_bang(t_modulo_counter *x) x->x_cur = x->x_cur % x->x_max; } -static void modulo_counter_float(t_modulo_counter *x, t_float max) +static void modulo_counter_float(t_modulo_counter *x, t_floatarg max) { int i = (int)max; @@ -45,7 +36,7 @@ static void modulo_counter_float(t_modulo_counter *x, t_float max) x->x_max = i; } -static void modulo_counter_ft1(t_modulo_counter *x, t_float set_init) +static void modulo_counter_ft1(t_modulo_counter *x, t_floatarg set_init) { int i = (int)set_init; -- cgit v1.2.1