commit 41df6562fb0dccd3002244829c3a460eb2028c61
parent 4c39d3b472b23aeeddbc2dd11af43f4d68054343
Author: Jean Pierre Cimalando <jp-dev@inbox.ru>
Date: Mon, 24 May 2021 20:04:23 +0200
Make a pointer const
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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