From 5c488b682dbf0072e2c7126f12948a69e608fd0e Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 16 Mar 2021 16:08:10 +0000 Subject: changed readme --- src/opcodes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(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"); } -- cgit v1.2.3