diff --git a/plugins/OpulenZ/OpulenZ.cpp b/plugins/OpulenZ/OpulenZ.cpp index eaefa8d84..451cf3707 100644 --- a/plugins/OpulenZ/OpulenZ.cpp +++ b/plugins/OpulenZ/OpulenZ.cpp @@ -514,7 +514,7 @@ int OpulenzInstrument::Hz2fnum(float Hz) { // Load one of the default patches void OpulenzInstrument::loadGMPatch() { - unsigned char *inst = midi_fm_instruments[m_patchModel.value()]; + const unsigned char* inst = midi_fm_instruments[m_patchModel.value()]; loadPatch(inst); }