From 92649e745cbbe710ffa3bec1504f877f93fa34aa Mon Sep 17 00:00:00 2001 From: Daniel Heckenberg Date: Sun, 9 Mar 2003 11:10:53 +0000 Subject: 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 --- mean.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mean.c') 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, */ -- cgit v1.2.1