Skip to content

Commit 578b2fb

Browse files
authored
Merge pull request #1954 from cbix/fix/liblo-032
Fix liblo 0.32 header compatibility
2 parents a2aeb83 + e083653 commit 578b2fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/osc/OSCNode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ bool ExtractSlotValueFromPair(const string &type, lo_arg **argv,
141141
* @param user_data a pointer to the OSCNode object.
142142
*/
143143
int OSCDataHandler(const char *osc_address, const char *types, lo_arg **argv,
144-
int argc, void *, void *user_data) {
144+
int argc, lo_message, void *user_data) {
145145
OLA_DEBUG << "Got OSC message for " << osc_address << ", types are " << types;
146146

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

151151
if (argc == 1) {
152152
if (type == "b") {
153-
lo_blob blob = argv[0];
153+
lo_blob blob = (lo_blob)argv[0];
154154
unsigned int size = min(static_cast<uint32_t>(DMX_UNIVERSE_SIZE),
155155
lo_blob_datasize(blob));
156156
node->SetUniverse(

0 commit comments

Comments
 (0)