summaryrefslogtreecommitdiff
path: root/src/bind.c
diff options
context:
space:
mode:
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)