Browse Source

Fix strict build

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX 4 years ago
parent
commit
b4a1a8a726
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/backend/plugin/CarlaPluginJack.cpp
  2. +1
    -1
      source/libjack/libjack_port-searching.cpp

+ 1
- 1
source/backend/plugin/CarlaPluginJack.cpp View File

@@ -1671,7 +1671,7 @@ public:

// remove unprintable characters if needed
if (fSetupHints & LIBJACK_FLAG_EXTERNAL_START)
fInfo.setupLabel[5] = '0' + (fSetupHints ^ LIBJACK_FLAG_EXTERNAL_START);
fInfo.setupLabel[5] = static_cast<char>('0' + (fSetupHints ^ LIBJACK_FLAG_EXTERNAL_START));

return true;
}


+ 1
- 1
source/libjack/libjack_port-searching.cpp View File

@@ -331,7 +331,7 @@ const char** jack_port_get_all_connections(const jack_client_t* client, const ja
{
carla_stdout("%s(%p, %p) WIP", __FUNCTION__, client, port);

JackClientState* const jclient = (JackClientState*)client;
const JackClientState* const jclient = (const JackClientState*)client;
CARLA_SAFE_ASSERT_RETURN(jclient != nullptr, nullptr);

const JackPortState* const jport = (const JackPortState*)port;


Loading…
Cancel
Save