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/modulo_counter.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/modulo_counter.c')
-rw-r--r-- | src/iemlib2/modulo_counter.c | 13 |
1 files changed, 2 insertions, 11 deletions
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 <stdlib.h> -#include <string.h> -#include <stdio.h> -#include <math.h> /* ---------------- 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; |