diff packages/net/common/current/tests/tcp_lo_select.c @ 2050:03eae11c9443

* tests/ping_lo_test.c (ping_host): Use socklen_t to avoid compiler warnings. * tests/tcp_lo_test.c (server): Ditto * tests/udp_lo_test.c (server): Ditto * tests/tcp_lo_select.c (server): Ditto
author asl
date Wed, 03 Aug 2005 20:51:21 +0000
parents e0c0827131d1
children 74dbf4c3f2e1
line wrap: on
line diff
--- a/packages/net/common/current/tests/tcp_lo_select.c
+++ b/packages/net/common/current/tests/tcp_lo_select.c
@@ -77,7 +77,7 @@ void server(void)
     int s_s1, e_s1, s_s2, e_s2;
     struct sockaddr_in e_s1_addr,e_s2_addr,local;
     fd_set in_fds;
-    int len;
+    socklen_t len;
     int num;
     
     char *hello_string=" Hello eCos network \n";