SHA256
1
0
forked from pool/csound
csound/csound-memset-fix.patch

14 lines
505 B
Diff
Raw Normal View History

Index: Opcodes/pvsbasic.c
===================================================================
--- Opcodes/pvsbasic.c.orig
+++ Opcodes/pvsbasic.c
@@ -2183,7 +2183,7 @@ int tab2pvs_init(CSOUND *csound, TAB2PVS
csound->AuxAlloc(csound, (N + 2) * sizeof(float), &p->fout->frame);
}
- memset(p->fout->frame.auxp, sizeof(float)*(N+2), 0);
+ memset(p->fout->frame.auxp, 0, sizeof(float)*(N+2));
return OK;
}
else return csound->InitError(csound, Str("t-variable not initialised"));