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 93b1a89e..8336dd34 100644
--- a/pd/src/d_osc.c
+++ b/pd/src/d_osc.c
@@ -86,7 +86,7 @@ static t_int *phasor_perform(t_int *w)
t_float *in = (t_float *)(w[2]);
t_float *out = (t_float *)(w[3]);
int n = (int)(w[4]);
- double dphase = x->x_phase + UNITBIT32;
+ double dphase = x->x_phase + (double)UNITBIT32;
union tabfudge tf;
int normhipart;
float conv = x->x_conv;