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/post_netreceive.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/post_netreceive.c')
-rw-r--r-- | src/iemlib2/post_netreceive.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/iemlib2/post_netreceive.c b/src/iemlib2/post_netreceive.c index 14b4bde..f96355e 100644 --- a/src/iemlib2/post_netreceive.c +++ b/src/iemlib2/post_netreceive.c @@ -3,17 +3,10 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2004 */ -#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> + /* ------------------------ post_netreceive ---------------------------- */ static t_class *post_netreceive_class; @@ -171,7 +164,7 @@ static void post_netreceive_clear(t_post_netreceive *x) } } -static void post_netreceive_fetch_all_parameters(t_post_netreceive *x, t_float nr_sended_para) +static void post_netreceive_fetch_all_parameters(t_post_netreceive *x, t_floatarg nr_sended_para) { int nrsp=(int)nr_sended_para; t_atom *ap=x->x_atbuf+x->x_min_send_entries; @@ -191,7 +184,7 @@ static void post_netreceive_free(t_post_netreceive *x) freebytes(x->x_plus_entries, x->x_max_send_entries * sizeof(t_symbol *)); } -static void *post_netreceive_new(t_float fmin, t_float fmax) +static void *post_netreceive_new(t_floatarg fmin, t_floatarg fmax) { t_post_netreceive *x = (t_post_netreceive *)pd_new(post_netreceive_class); int i, min = (int)fmin, max = (int)fmax; |