From c2d357b5afb84b145f207fc43f1e97178ea427ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Fri, 22 Jul 2022 00:37:51 +0200 Subject: [PATCH] spa: aec: null: remove unnecessary cast --- spa/plugins/aec/aec-null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/aec/aec-null.c b/spa/plugins/aec/aec-null.c index c09451f41..9029e6d63 100644 --- a/spa/plugins/aec/aec-null.c +++ b/spa/plugins/aec/aec-null.c @@ -116,7 +116,7 @@ impl_init(const struct spa_handle_factory *factory, impl->aec.info = NULL; impl->aec.latency = NULL; - impl->log = (struct spa_log*)spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log); + impl->log = spa_support_find(support, n_support, SPA_TYPE_INTERFACE_Log); spa_log_topic_init(impl->log, &log_topic); spa_hook_list_init(&impl->hooks_list);