diff --git a/app/src/main/cpp/baresip.c b/app/src/main/cpp/baresip.c index 6d7c1ac6..676732b9 100644 --- a/app/src/main/cpp/baresip.c +++ b/app/src/main/cpp/baresip.c @@ -362,8 +362,8 @@ static struct mqueue *mq; static void mqueue_handler(int id, void *data, void *arg) { if (id == ID_UA_STOP_ALL) { - LOGD("calling ua_stop_all with force %u\n", (unsigned)data); - ua_stop_all((bool)data); + LOGD("calling ua_stop_all with force %u\n", (unsigned)(uintptr_t)data); + ua_stop_all((bool)(uintptr_t)data); } }