--- src/adapter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index 8dbd62c..f7bbc3e 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -3059,11 +3059,11 @@ static struct remote_dev_info *get_found_dev(struct btd_adapter *adapter, static void remove_same_uuid(gpointer data, gpointer user_data) { struct remote_dev_info *dev = user_data; + const char *new_uuid = data; GSList *l; for (l = dev->services; l; l = l->next) { char *current_uuid = l->data; - char *new_uuid = data; if (strcmp(current_uuid, new_uuid) == 0) { g_free(current_uuid); @@ -3076,7 +3076,7 @@ static void remove_same_uuid(gpointer data, gpointer user_data) static void dev_prepend_uuid(gpointer data, gpointer user_data) { struct remote_dev_info *dev = user_data; - char *new_uuid = data; + const char *new_uuid = data; dev->services = g_slist_prepend(dev->services, g_strdup(new_uuid)); } -- 1.7.5.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html