Skip to content

Commit

Permalink
fix compil and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Jun 22, 2024
1 parent 56c7872 commit 520e15e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions JuceLibraryCode/AppConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,25 @@
#define ORGANICUI_USE_WEBSERVER 1
#endif

//==============================================================================
// juce_osc flags:

#ifndef JUCE_ALLOW_SPECIAL_CHARS_IN_ADDRESS
#define JUCE_ALLOW_SPECIAL_CHARS_IN_ADDRESS 1
#endif

#ifndef JUCE_ENABLE_BROADCAST_BY_DEFAULT
#define JUCE_ENABLE_BROADCAST_BY_DEFAULT 1
#endif

#ifndef JUCE_EXCLUSIVE_BINDING_BY_DEFAULT
#define JUCE_EXCLUSIVE_BINDING_BY_DEFAULT 1
#endif

#ifndef JUCE_IP_AND_PORT_DETECTION
#define JUCE_IP_AND_PORT_DETECTION 1
#endif

//==============================================================================
// juce_sharedtexture flags:

Expand Down
2 changes: 1 addition & 1 deletion Source/Module/modules/osc/custom/CustomOSCModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ void CustomOSCModule::processMessageInternal(const OSCMessage& msg)
break;

case 1:
if (msg[0].isTorF())
if (msg[0].isBool())
{
c = new BoolParameter(cNiceName, "", msg[0].getBool());
}
Expand Down

0 comments on commit 520e15e

Please sign in to comment.