aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-01-12 11:24:27 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:58 +0200
commit7087c18fec98b899854bd8672dfcc7f52a02e8cb (patch)
tree5213ae4200413320495b194ea185c14743fbc9f1
parenta0e797de4a660aa2af4b309fe258fb287e3d38e1 (diff)
bugfix
svn path=/trunk/externals/tb/; revision=2493
-rw-r--r--sc4pd/source/Median.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc4pd/source/Median.cpp b/sc4pd/source/Median.cpp
index f89f934..4383a1b 100644
--- a/sc4pd/source/Median.cpp
+++ b/sc4pd/source/Median.cpp
@@ -199,12 +199,12 @@ Median_kr::Median_kr(int argc,t_atom * argv)
AtomList Args(argc,argv);
- m_size=sc_getfloatarg(Args,0);
+ m_size=(int)sc_getfloatarg(Args,0);
float m_set=sc_getfloatarg(Args,1);
Median.Init(m_size,m_set);
- AddOutSignal();
+ AddOutFloat();
}
void Median_kr::m_perform(float f)