From a97c4b1a67828b35c37cf3d745c7014d459c045c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 19 Apr 2016 17:35:44 -0400 Subject: [PATCH] Cast destroy_text to bt_component_destroy_cb MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/text/text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/text/text.c b/plugins/text/text.c index cdd92fd86..a126b6f0f 100644 --- a/plugins/text/text.c +++ b/plugins/text/text.c @@ -127,7 +127,8 @@ enum bt_component_status text_component_init( goto end; } - ret = bt_component_set_destroy_cb(component, destroy_text); + ret = bt_component_set_destroy_cb(component, + (bt_component_destroy_cb) destroy_text); if (ret != BT_COMPONENT_STATUS_OK) { goto error; } -- 2.34.1