From dec6a045746f5cc3ba831f2521cbcd95a7e314de Mon Sep 17 00:00:00 2001 From: SameExpert <59734562+SameExpert@users.noreply.github.com> Date: Mon, 18 Aug 2025 13:35:37 +0530 Subject: [PATCH] OpulenZ: Fix compilation error (#8040) This patch fixes the error: "invalid conversion from 'const unsigned char*' to 'unsigned char*'". --- plugins/OpulenZ/OpulenZ.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }