summaryrefslogtreecommitdiff
path: root/libbb/udp_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/udp_io.c')
-rw-r--r--libbb/udp_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/udp_io.c b/libbb/udp_io.c
index e968ecb..689c39a 100644
--- a/libbb/udp_io.c
+++ b/libbb/udp_io.c
@@ -113,7 +113,7 @@ recv_from_to(int fd, void *buf, size_t len, int flags,
} u;
struct cmsghdr *cmsgptr;
struct msghdr msg;
- socklen_t recv_length;
+ ssize_t recv_length;
iov[0].iov_base = buf;
iov[0].iov_len = len;