Skip to content

Commit

Permalink
Merge pull request #1954 from cbix/fix/liblo-032
Browse files Browse the repository at this point in the history
Fix liblo 0.32 header compatibility
  • Loading branch information
peternewman committed Apr 2, 2024
2 parents a2aeb83 + e083653 commit 578b2fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/osc/OSCNode.cpp
Expand Up @@ -141,7 +141,7 @@ bool ExtractSlotValueFromPair(const string &type, lo_arg **argv,
* @param user_data a pointer to the OSCNode object.
*/
int OSCDataHandler(const char *osc_address, const char *types, lo_arg **argv,
int argc, void *, void *user_data) {
int argc, lo_message, void *user_data) {
OLA_DEBUG << "Got OSC message for " << osc_address << ", types are " << types;

OSCNode *node = reinterpret_cast<OSCNode*>(user_data);
Expand All @@ -150,7 +150,7 @@ int OSCDataHandler(const char *osc_address, const char *types, lo_arg **argv,

if (argc == 1) {
if (type == "b") {
lo_blob blob = argv[0];
lo_blob blob = (lo_blob)argv[0];
unsigned int size = min(static_cast<uint32_t>(DMX_UNIVERSE_SIZE),
lo_blob_datasize(blob));
node->SetUniverse(
Expand Down

0 comments on commit 578b2fb

Please sign in to comment.