summaryrefslogtreecommitdiff
path: root/muse2/muse/vst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/vst.cpp')
-rw-r--r--muse2/muse/vst.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/muse/vst.cpp b/muse2/muse/vst.cpp
index 29289924..28657c69 100644
--- a/muse2/muse/vst.cpp
+++ b/muse2/muse/vst.cpp
@@ -422,7 +422,8 @@ void* VstSynth::instantiate()
n.setNum(_instances);
QString instanceName = baseName() + "-" + n;
doSetuid();
- const char* path = info.filePath().toLatin1();
+ QByteArray ba = info.filePath().toLatin1();
+ const char* path = ba.constData();
fstHandle = fst_load(path);
if (fstHandle == 0) {