Browse Source

Fix win32 warning

tags/1.9.6
falkTX 10 years ago
parent
commit
921816b5a1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/plugin/carla-lv2-export.cpp

+ 4
- 0
source/plugin/carla-lv2-export.cpp View File

@@ -67,7 +67,11 @@ static const String nameToSymbol(const String& name, const uint32_t portIndex)
{
for (int i=0; i < trimmedName.length(); ++i)
{
#ifdef CARLA_OS_WIN
const int32_t c = static_cast<int32_t>(trimmedName[i]);
#else
const juce_wchar c = trimmedName[i];
#endif
if (i == 0 && std::isdigit(c))
symbol += "_";
else if (std::isalpha(c) || std::isdigit(c))


Loading…
Cancel
Save