aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opcodes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opcodes.cpp b/src/opcodes.cpp
index 8878722..5979712 100644
--- a/src/opcodes.cpp
+++ b/src/opcodes.cpp
@@ -559,8 +559,8 @@ struct xtcorpus : csnd::Plugin<1, 2> {
if (!(corpusProfile = getHandle<AnalysisProfile>(csound, inargs[0]))) {
return csound->init_error("profile handle invalid");
}
-
- if ((corpus->input = csound->get_csound()->FTnp2Find(csound, &inargs[1])) == NULL) {
+ CSOUND* csbase = (CSOUND *) csound->get_csound();
+ if ((corpus->input = csbase->FTnp2Find(csbase, &inargs[1])) == NULL) {
return csound->init_error("cannot get function table specified");
}