Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wtoorop committed Oct 19, 2016
1 parent b2462fa commit 64f637f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 64f637f

Please sign in to comment.