From 02331914988fa4fbe62f7c89e8da6b1be00467b0 Mon Sep 17 00:00:00 2001 From: Hanspeter Portner Date: Sun, 23 Apr 2023 19:01:14 +0200 Subject: [PATCH] use unsigned instead of useconds_t for musl --- meson_options.txt | 2 +- src/lv2lint_alloc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 5b677dd..441792d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -4,4 +4,4 @@ option('online-tests', type : 'feature', value : 'disabled') option('elf-tests', type : 'feature', value : 'disabled') option('x11-tests', type : 'feature', value : 'disabled') -option('version', type : 'string', value : '0.17.75') +option('version', type : 'string', value : '0.17.77') diff --git a/src/lv2lint_alloc.c b/src/lv2lint_alloc.c index 8b4477c..11e5acc 100644 --- a/src/lv2lint_alloc.c +++ b/src/lv2lint_alloc.c @@ -34,7 +34,7 @@ static int (*__sem_wait)(sem_t *) = NULL; static int (*__sem_timedwait)(sem_t *, const struct timespec *) = NULL; static unsigned (*__sleep)(unsigned) = NULL; -static int (*__usleep)(useconds_t) = NULL; +static int (*__usleep)(unsigned) = NULL; static int (*__nanosleep)(const struct timespec *, struct timespec *) = NULL; static int (*__clock_nanosleep)(clockid_t, int, const struct timespec *, struct timespec *) = NULL; @@ -239,7 +239,7 @@ sleep(unsigned secs) } int -usleep(useconds_t usecs) +usleep(unsigned usecs) { _mask(SHIFT_usleep); -- 2.38.5