aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)