diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,7 +52,7 @@ mix_waves(WaveFrag *frags, LENT len) LENT max_len = 0; - Pulse p = 0.0f; + Pulse p = 0.0; for (LENT i = 0; i < len; i++) max_len = max(max_len, (frags+i)->n); @@ -61,7 +61,7 @@ mix_waves(WaveFrag *frags, LENT len) wf.w = MYALLOC(Pulse, max_len); for (LENT i = 0; i < max_len; i++) { - p = 0.0f; + p = 0.0; for (LENT j = 0; j < len; j++) if (i < (frags+j)->n) p += *((frags+j)->w+i); |