Browse Source

Dont use VLAs

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
1d0a4cb81e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/utils/CarlaString.hpp

+ 1
- 1
source/utils/CarlaString.hpp View File

@@ -643,7 +643,7 @@ public:
"abcdefghijklmnopqrstuvwxyz" "abcdefghijklmnopqrstuvwxyz"
"0123456789+/"; "0123456789+/";


const std::size_t kTmpBufSize = std::min(carla_nextPowerOf2(static_cast<uint32_t>(dataSize/3)), 65536U);
static constexpr const std::size_t kTmpBufSize = 65536U;


const uchar* bytesToEncode((const uchar*)data); const uchar* bytesToEncode((const uchar*)data);




Loading…
Cancel
Save