From 41df6562fb0dccd3002244829c3a460eb2028c61 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 24 May 2021 20:04:50 +0200 Subject: [PATCH] Make a pointer const --- distrho/src/DistrhoUILV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrho/src/DistrhoUILV2.cpp b/distrho/src/DistrhoUILV2.cpp index d37331d3..67ece68d 100644 --- a/distrho/src/DistrhoUILV2.cpp +++ b/distrho/src/DistrhoUILV2.cpp @@ -289,7 +289,7 @@ protected: // reserve atom space const size_t atomSize = sizeof(LV2_Atom) + msgSize; - char* atomBuf = (char*)malloc(atomSize); + char* const atomBuf = (char*)malloc(atomSize); std::memset(atomBuf, 0, atomSize); // set atom info