diff options
author | Daniel Heckenberg <dheck@users.sourceforge.net> | 2003-03-09 11:10:53 +0000 |
---|---|---|
committer | Daniel Heckenberg <dheck@users.sourceforge.net> | 2003-03-09 11:10:53 +0000 |
commit | 92649e745cbbe710ffa3bec1504f877f93fa34aa (patch) | |
tree | c51a1e26288397bf97295f0d1cdda4760254cb87 /mean.c | |
parent | 1f8e5df65d294f56735b20fdb4c8c65919609439 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, */ |