OpulenZ: Fix compilation error (#8040)

This patch fixes the error: "invalid conversion from 'const unsigned char*' to 'unsigned char*'".
This commit is contained in:
SameExpert
2025-08-18 13:35:37 +05:30
committed by GitHub
parent 4aed2a8e5b
commit dec6a04574

View File

@@ -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);
}