Skip to content

Commit 57c85f4

Browse files
committed
MSVC: Fix ReverbSC
1 parent ac65fb9 commit 57c85f4

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

plugins/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ IF(MSVC)
9292
SET(MSVC_INCOMPATIBLE_PLUGINS
9393
LadspaEffect
9494
monstro
95-
ReverbSC
9695
sid
9796
#VstEffect
9897
Xpressive

plugins/ReverbSC/revsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int sp_revsc_init(sp_data *sp, sp_revsc *p)
7272
sp_auxdata_alloc(&p->aux, nBytes);
7373
nBytes = 0;
7474
for (i = 0; i < 8; i++) {
75-
p->delayLines[i].buf = (p->aux.ptr) + nBytes;
75+
p->delayLines[i].buf = ((char*) p->aux.ptr) + nBytes;
7676
init_delay_line(p, &p->delayLines[i], i);
7777
nBytes += delay_line_bytes_alloc(sp->sr, 1, i);
7878
}

0 commit comments

Comments
 (0)