From 57c85f49b7e0675a9a8704e4673543fedfd5eb96 Mon Sep 17 00:00:00 2001 From: Lukas W Date: Sat, 28 Jul 2018 14:09:00 +0200 Subject: [PATCH] MSVC: Fix ReverbSC --- plugins/CMakeLists.txt | 1 - plugins/ReverbSC/revsc.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 8c814736b..5c8000933 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -92,7 +92,6 @@ IF(MSVC) SET(MSVC_INCOMPATIBLE_PLUGINS LadspaEffect monstro - ReverbSC sid #VstEffect Xpressive diff --git a/plugins/ReverbSC/revsc.c b/plugins/ReverbSC/revsc.c index 35084c175..503052be3 100644 --- a/plugins/ReverbSC/revsc.c +++ b/plugins/ReverbSC/revsc.c @@ -72,7 +72,7 @@ int sp_revsc_init(sp_data *sp, sp_revsc *p) sp_auxdata_alloc(&p->aux, nBytes); nBytes = 0; for (i = 0; i < 8; i++) { - p->delayLines[i].buf = (p->aux.ptr) + nBytes; + p->delayLines[i].buf = ((char*) p->aux.ptr) + nBytes; init_delay_line(p, &p->delayLines[i], i); nBytes += delay_line_bytes_alloc(sp->sr, 1, i); }