From 65e52cd2a11f4d0433e3ef60b6719ea490b3f6c8 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 2 May 2024 00:02:25 -0400 Subject: Another musl fix --- src/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bind.c b/src/bind.c index 7e26d4a..307e5b7 100644 --- a/src/bind.c +++ b/src/bind.c @@ -87,8 +87,8 @@ int osm_bind_local(int sockfd, const char *sock_dir) } // sequentially try to bind - uint id = 0; - uint offset = offsetof(struct sockaddr_un, sun_path); + unsigned int id = 0; + unsigned int offset = offsetof(struct sockaddr_un, sun_path); while(_need_chars(id) + len < sizeof(name.sun_path) - 1) { if (id > MAX_ID) -- cgit v1.2.3