summaryrefslogtreecommitdiff
path: root/tests/cancel9.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cancel9.c')
-rw-r--r--tests/cancel9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cancel9.c b/tests/cancel9.c
index efa8ef2..b009161 100644
--- a/tests/cancel9.c
+++ b/tests/cancel9.c
@@ -97,7 +97,7 @@ test_udp (void *arg)
}
UDPSocket = socket (AF_INET, SOCK_DGRAM, 0);
- if (UDPSocket == -1)
+ if ((int)UDPSocket == -1)
{
printf ("Server: socket ERROR \n");
exit (-1);