]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
portability lint
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 13 Jul 2010 08:02:02 +0000 (08:02 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 13 Jul 2010 08:02:02 +0000 (08:02 +0000)
git-svn-id: file:///svn/unbound/trunk@2193 be551aaa-1e26-0410-a405-d3ace91eadb9

util/tube.c

index a7a749fd277961b0b7f52f3d907aeae1cf4343da..2fad1cafcce8bbd461d3109b3b462fce8098dcac 100644 (file)
@@ -401,7 +401,7 @@ pollit(int fd, struct timeval* t)
                return 0;
        }
        errno = 0;
-       return FD_ISSET(fd, &r);
+       return (int)(FD_ISSET(fd, &r));
 }
 
 int tube_poll(struct tube* tube)