diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-03-17 10:57:42 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-03-17 10:57:42 +0100 |
commit | 93977868f9d48c5efcc8f67c978af17bd6330554 (patch) | |
tree | d2bf25f70447d5f64b00f682b12a9b3d9ff95461 | |
parent | cd14bff5ea7c975a8064c8a13d4b1a7c8ebc529e (diff) | |
download | passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar.gz passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar.bz2 passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar.lz passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar.xz passt-93977868f9d48c5efcc8f67c978af17bd6330554.tar.zst passt-93977868f9d48c5efcc8f67c978af17bd6330554.zip |
udp: Use size_t for return value of recvfrom()
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ void udp_sock_handler(struct ctx *c, int s, uint32_t events) socklen_t slen = sizeof(sr); char buf[USHRT_MAX]; struct udphdr *uh; - int n; + ssize_t n; (void)events; |