diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-08-05 23:24:21 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-08-05 23:24:21 +0200 |
commit | b9df9728fd7de3cc7c189a97fc5a00fc86686173 (patch) | |
tree | 7db922cd45515c5af5d252e97d32d6380dfa7c67 | |
parent | df0a75c68f22f54f94773eb07f2f439561f0f3c2 (diff) |
fix compilation warning
-rw-r--r-- | gre.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |