From b9df9728fd7de3cc7c189a97fc5a00fc86686173 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 5 Aug 2020 23:24:21 +0200 Subject: fix compilation warning --- gre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gre.c b/gre.c index 0515bf3..6ded69d 100644 --- a/gre.c +++ b/gre.c @@ -145,7 +145,7 @@ static void gre_cb(void) { int n; struct sockaddr_storage src; - size_t src_len = sizeof(src); + socklen_t src_len = sizeof(src); memset(&src, 0, src_len); n = recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr*)&src, &src_len); -- cgit v1.2.3