From 6032b831803c9923bb7f95cd70231d2f1bbf14ab Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 26 Aug 2015 19:05:07 -0700 Subject: [PATCH] JACK: fix return type of rename callback --- src/jack.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jack.cpp b/src/jack.cpp index 4b7688a..06283df 100644 --- a/src/jack.cpp +++ b/src/jack.cpp @@ -781,12 +781,11 @@ static void port_registration_callback(jack_port_id_t port_id, int reg, void *ar notify_devices_change(si); } -static int port_rename_calllback(jack_port_id_t port_id, +static void port_rename_calllback(jack_port_id_t port_id, const char *old_name, const char *new_name, void *arg) { SoundIoPrivate *si = (SoundIoPrivate *)arg; notify_devices_change(si); - return 0; } static void shutdown_callback(void *arg) {