summaryrefslogtreecommitdiff
path: root/src/local.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local.c b/src/local.c
index be51b9e..9ff5f82 100644
--- a/src/local.c
+++ b/src/local.c
@@ -68,7 +68,7 @@ int do_local_server_step(int fd, void *data,
{
int rfd;
struct sockaddr_un local;
- size_t sin_size = sizeof(struct sockaddr_un);
+ socklen_t sin_size = sizeof(struct sockaddr_un);
if ((rfd = accept(fd, (struct sockaddr *)&local, &sin_size)) == -1)
return -1;