forked from pool/csound
a53b19828d
- drop unused patches - fix wrong memset and strncat usage ({memset,strncat}-fix.patch) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=7
14 lines
505 B
Diff
14 lines
505 B
Diff
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"));
|