aboutsummaryrefslogtreecommitdiff
path: root/pd/src/d_osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'pd/src/d_osc.c')
-rw-r--r--pd/src/d_osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/d_osc.c b/pd/src/d_osc.c
index b0becdba..93b1a89e 100644
--- a/pd/src/d_osc.c
+++ b/pd/src/d_osc.c
@@ -479,7 +479,7 @@ static void *noise_new(void)
static t_int *noise_perform(t_int *w)
{
- t_float *out = (t_float *)(w[1]);
+ t_sample *out = (t_sample *)(w[1]);
int *vp = (int *)(w[2]);
int n = (int)(w[3]);
int val = *vp;