From: Jaroslav Kysela Date: Tue, 22 Aug 2023 14:51:39 +0000 (+0200) Subject: test: oldapi - fix the clang-16 compilation error X-Git-Tag: v1.2.10~30 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=ec20272797cef39772cdbfd7ae40e213c93893ff;p=alsa-lib.git 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 --- 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) {