| @@ -64,9 +64,9 @@ static int buggy_jack2_uuid_parse(const char* b, jack_uuid_t* u) | |||||
| { | { | ||||
| if (sscanf (b, P_UINT64, u) == 1) { | if (sscanf (b, P_UINT64, u) == 1) { | ||||
| if (*u < (0x1LL << 32)) { | |||||
| if (*u < (0x1LLU << 32)) { | |||||
| // FIXME: bug in jack2, client bit not set | // FIXME: bug in jack2, client bit not set | ||||
| *u = (0x2LU << 32) | *u; | |||||
| *u = (0x2LLU << 32) | *u; | |||||
| } | } | ||||
| return 0; | return 0; | ||||
| @@ -1039,6 +1039,7 @@ public: | |||||
| if (buggy_jack2_uuid_parse(uuidchar, &uuid) == 0) | if (buggy_jack2_uuid_parse(uuidchar, &uuid) == 0) | ||||
| { | { | ||||
| #if defined(HAVE_LIBLO) && !defined(BUILD_BRIDGE) | |||||
| const CarlaString& tcp(pData->osc.getServerPathTCP()); | const CarlaString& tcp(pData->osc.getServerPathTCP()); | ||||
| const CarlaString& udp(pData->osc.getServerPathUDP()); | const CarlaString& udp(pData->osc.getServerPathUDP()); | ||||
| @@ -1049,6 +1050,7 @@ public: | |||||
| if (tcp.isNotEmpty()) | if (tcp.isNotEmpty()) | ||||
| jackbridge_set_property(fClient, uuid, | jackbridge_set_property(fClient, uuid, | ||||
| "https://kx.studio/ns/carla/osc-udp", udp.buffer(), "text/plain"); | "https://kx.studio/ns/carla/osc-udp", udp.buffer(), "text/plain"); | ||||
| #endif | |||||
| } | } | ||||
| } | } | ||||