summaryrefslogtreecommitdiff
path: root/src/bind.c
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-05-02 00:02:25 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-05-02 00:02:25 -0400
commit65e52cd2a11f4d0433e3ef60b6719ea490b3f6c8 (patch)
tree11728898438e9f75289bf13f74b3eef4e65949f5 /src/bind.c
parentfb9e7663ff5cff37688783e46c91bdebad3d49f5 (diff)
Another musl fix
Diffstat (limited to 'src/bind.c')
-rw-r--r--src/bind.c4
1 files 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)