aboutsummaryrefslogtreecommitdiff
path: root/mean.c
diff options
context:
space:
mode:
authorDaniel Heckenberg <dheck@users.sourceforge.net>2003-03-09 11:10:53 +0000
committerDaniel Heckenberg <dheck@users.sourceforge.net>2003-03-09 11:10:53 +0000
commit92649e745cbbe710ffa3bec1504f877f93fa34aa (patch)
treec51a1e26288397bf97295f0d1cdda4760254cb87 /mean.c
parent1f8e5df65d294f56735b20fdb4c8c65919609439 (diff)
Minor changes for compilation using Visual C++ 6.0 (SP3) under Windows
ncluding: - no array declaration with variable size - fixed signed/unsigned comparison warnings svn path=/trunk/externals/cxc/; revision=460
Diffstat (limited to 'mean.c')
-rw-r--r--mean.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mean.c b/mean.c
index 4441920..a94e472 100644
--- a/mean.c
+++ b/mean.c
@@ -94,7 +94,7 @@ void cxmean_setup(void)
sizeof(t_cxmean),
CLASS_DEFAULT,
A_DEFSYM, 0);
- class_addcreator(cxmean_new,gensym("cx.mean"),A_DEFSYM, 0);
+ class_addcreator((t_newmethod)cxmean_new,gensym("cx.mean"),A_DEFSYM, 0);
class_addmethod(cxmean_class, (t_method)cxmean_set,
gensym("set"), A_DEFSYM, 0);
@@ -199,7 +199,7 @@ void cxavgdev_setup(void)
CLASS_DEFAULT,
A_DEFSYM, 0);
- class_addcreator(cxavgdev_new,gensym("cx.avgdev"),A_DEFSYM, 0);
+ class_addcreator((t_newmethod)cxavgdev_new,gensym("cx.avgdev"),A_DEFSYM, 0);
class_addmethod(cxavgdev_class, (t_method)cxavgdev_set,
gensym("set"), A_DEFSYM, 0);
/* class_addmethod(cxavgdev_class, (t_method)cxavgdev_mean, */
@@ -303,7 +303,7 @@ void cxstddev_setup(void)
CLASS_DEFAULT,
A_DEFSYM, 0);
- class_addcreator(cxstddev_new,gensym("cx.stddev"),A_DEFSYM, 0);
+ class_addcreator((t_newmethod)cxstddev_new,gensym("cx.stddev"),A_DEFSYM, 0);
class_addmethod(cxstddev_class, (t_method)cxstddev_set,
gensym("set"), A_DEFSYM, 0);
/* class_addmethod(cxstddev_class, (t_method)cxstddev_mean, */