From: Grigorii Demidov Date: Fri, 21 Oct 2016 14:36:18 +0000 (+0200) Subject: daemon: another UINT_MAX -> UINT32_MAX X-Git-Tag: v1.2.0-rc1~91^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece876a4eecd5adf7d21b88e53f948eb11c81738;p=thirdparty%2Fknot-resolver.git daemon: another UINT_MAX -> UINT32_MAX --- diff --git a/daemon/main.c b/daemon/main.c index 58253452f..99affef6b 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -177,7 +177,7 @@ static void ipc_activity(uv_poll_t* handle, int status, int events) uint32_t len = 0; if (ipc_readall(fd, (char *)&len, sizeof(len))) { auto_free char *rbuf = NULL; - if (len < UINT_MAX) { + if (len < UINT32_MAX) { rbuf = malloc(len + 1); } else { errno = EINVAL;