From 64f637f2205bc98141ce616788d3bca385ff2762 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Wed, 19 Oct 2016 12:15:19 -0500 Subject: [PATCH] lint --- net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net.c b/net.c index 4657d75d..9e048d2c 100644 --- a/net.c +++ b/net.c @@ -175,7 +175,8 @@ ldns_sock_wait(int sockfd, struct timeval timeout, int write) pfds[0].events |= POLLOUT; } - ret = poll(pfds, 1, timeout.tv_sec * 1000 + timeout.tv_usec / 1000); + ret = poll(pfds, 1, (int)(timeout.tv_sec * 1000 + + timeout.tv_usec / 1000)); #endif if(ret == 0) /* timeout expired */ -- 2.47.3