Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/ChangeLog,v retrieving revision 1.68 diff -u -r1.68 ChangeLog --- ChangeLog 30 Jul 2005 11:22:37 -0000 1.68 +++ ChangeLog 3 Aug 2005 20:50:58 -0000 @@ -1,3 +1,11 @@ +2005-08-02 Andrew Lunn + + * 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 + 2005-07-29 Andrew Lunn * src/tftp_dummy_file.c: unsigned char when needed to prevent warnings. Index: tests/multi_lo_select.c =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/tests/multi_lo_select.c,v retrieving revision 1.2 diff -u -r1.2 multi_lo_select.c --- tests/multi_lo_select.c 6 Oct 2002 13:07:53 -0000 1.2 +++ tests/multi_lo_select.c 3 Aug 2005 20:50:59 -0000 @@ -200,7 +200,7 @@ int s_s1 = -1, e_s1 = 0, s_s2 = -1, e_s2 = 0; struct sockaddr_in e_s1_addr,e_s2_addr,local; fd_set in_fds; - int len; + socklen_t len; int num; // do we select on multiple sources? Index: tests/ping_lo_test.c =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/tests/ping_lo_test.c,v retrieving revision 1.4 diff -u -r1.4 ping_lo_test.c --- tests/ping_lo_test.c 23 Apr 2003 23:48:57 -0000 1.4 +++ tests/ping_lo_test.c 3 Aug 2005 20:50:59 -0000 @@ -137,7 +137,8 @@ cyg_tick_count_t *tp; long *dp; struct sockaddr_in from; - int i, len, fromlen; + int i, len; + socklen_t fromlen; ok_recv = 0; bogus_recv = 0; Index: tests/tcp_lo_select.c =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/tests/tcp_lo_select.c,v retrieving revision 1.1 diff -u -r1.1 tcp_lo_select.c --- tests/tcp_lo_select.c 20 May 2002 22:25:05 -0000 1.1 +++ tests/tcp_lo_select.c 3 Aug 2005 20:50:59 -0000 @@ -77,7 +77,7 @@ 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"; Index: tests/tcp_lo_test.c =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/tests/tcp_lo_test.c,v retrieving revision 1.1 diff -u -r1.1 tcp_lo_test.c --- tests/tcp_lo_test.c 20 May 2002 22:25:05 -0000 1.1 +++ tests/tcp_lo_test.c 3 Aug 2005 20:51:00 -0000 @@ -62,7 +62,7 @@ struct sockaddr_in e_source_addr, local; int one = 1; fd_set in_fds; - int len; + socklen_t len; char *hello_string=" Hello eCos network \n"; diag_printf("TCP SERVER:"); Index: tests/udp_lo_test.c =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/common/current/tests/udp_lo_test.c,v retrieving revision 1.1 diff -u -r1.1 udp_lo_test.c --- tests/udp_lo_test.c 20 May 2002 22:25:05 -0000 1.1 +++ tests/udp_lo_test.c 3 Aug 2005 20:51:00 -0000 @@ -60,7 +60,7 @@ { int s_source; struct sockaddr_in local,c_addr; - int c_len; + socklen_t c_len; int len; char *hello_string=" Hello eCos network \n";