aboutsummaryrefslogtreecommitdiff
path: root/testprogs/valgrindtest.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-04-04 13:09:54 -0700
committerGuy Harris <guy@alum.mit.edu>2018-04-04 13:09:54 -0700
commit62ad93e878c6bf2791a67a38c5ce0237e114328a (patch)
treeaba0dd65593b1f8d3a2fce9dd0d761658a51ef08 /testprogs/valgrindtest.c
parent968ae937317922c1d0bda8b6ace9b80fe903fcab (diff)
Squelch a signed vs. unsigned comparison warning on FreeBSD 10.
FD_SETSIZE might be defined as an unsigned, but sock_info->sock will be an int on UN*Xes. It's not going to be negative (that's used for errors from calls that return FDs, and if we got an error we wouldn't have an FD on which to select), so just cast both sides to unsigned int.
Diffstat (limited to 'testprogs/valgrindtest.c')
0 files changed, 0 insertions, 0 deletions