Browse Source

Make a pointer const

pull/278/head
Jean Pierre Cimalando 4 years ago
parent
commit
41df6562fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoUILV2.cpp

+ 1
- 1
distrho/src/DistrhoUILV2.cpp View File

@@ -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


Loading…
Cancel
Save