summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-01-31 00:15:26 +0000
committerNicholas Clark <nick@ccl4.org>2006-01-31 00:15:26 +0000
commitea407a0c5785d3a64d61e9c8c66bc8f7da25130c (patch)
treeb6fe5bcbfdf9a434f017c0939043344ca0f84ba0 /util.c
parent6c7deadb0866b9636eb897c945758dac97e87d25 (diff)
downloadperl-ea407a0c5785d3a64d61e9c8c66bc8f7da25130c.tar.gz
Silence a warning from the MS compiler about signed/unsigned mismatch.
p4raw-id: //depot/perl@27014
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index b5216718b2..4162f689e8 100644
--- a/util.c
+++ b/util.c
@@ -4612,8 +4612,8 @@ S_socketpair_udp (int fd[2]) {
fd_set rset;
FD_ZERO(&rset);
- FD_SET(sockets[0], &rset);
- FD_SET(sockets[1], &rset);
+ FD_SET((unsigned int)sockets[0], &rset);
+ FD_SET((unsigned int)sockets[1], &rset);
got = PerlSock_select(max + 1, &rset, NULL, NULL, &waitfor);
if (got != 2 || !FD_ISSET(sockets[0], &rset)