Skip to content

Commit 4828ff3

Browse files
committed
Merge branch '0.10' of https://github.com/openlightingproject/ola into 0.10-clang-latest
2 parents d561605 + 578b2fb commit 4828ff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)