Skip to content

Commit dec6a04

Browse files
authored
OpulenZ: Fix compilation error (#8040)
This patch fixes the error: "invalid conversion from 'const unsigned char*' to 'unsigned char*'".
1 parent 4aed2a8 commit dec6a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/OpulenZ/OpulenZ.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ int OpulenzInstrument::Hz2fnum(float Hz) {
514514

515515
// Load one of the default patches
516516
void OpulenzInstrument::loadGMPatch() {
517-
unsigned char *inst = midi_fm_instruments[m_patchModel.value()];
517+
const unsigned char* inst = midi_fm_instruments[m_patchModel.value()];
518518
loadPatch(inst);
519519
}
520520

0 commit comments

Comments
 (0)