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 <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2023-08-22 16:51:39 +02:00
parent 403d687b95
commit ec20272797

View file

@ -31,7 +31,7 @@
#include "../include/asoundlib.h" #include "../include/asoundlib.h"
#include <sys/time.h> #include <sys/time.h>
typedef void (myfcn)(void *); typedef int (myfcn)(const snd_pcm_hw_params_t *);
int main(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED) int main(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED)
{ {