From ec20272797cef39772cdbfd7ae40e213c93893ff Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 22 Aug 2023 16:51:39 +0200 Subject: [PATCH] test: oldapi - fix the clang-16 compilation error Fixes: https://github.com/alsa-project/alsa-lib/issues/323 From: Fabio Scaccabarozzi Signed-off-by: Jaroslav Kysela --- test/oldapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/oldapi.c b/test/oldapi.c index 7abc98e0..82450478 100644 --- a/test/oldapi.c +++ b/test/oldapi.c @@ -31,7 +31,7 @@ #include "../include/asoundlib.h" #include -typedef void (myfcn)(void *); +typedef int (myfcn)(const snd_pcm_hw_params_t *); int main(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED) { -- 2.47.1