From: Mike F. <va...@us...> - 2006-02-27 03:51:48
|
Update of /cvsroot/ltp/ltp/testcases/network/stress/ns-tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29418/testcases/network/stress/ns-tools Modified Files: ns-tcpserver.c Log Message: fix gcc warnings: warning: int format, different type arg Index: ns-tcpserver.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/network/stress/ns-tools/ns-tcpserver.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ns-tcpserver.c 24 Oct 2005 20:18:22 -0000 1.1 --- ns-tcpserver.c 27 Feb 2006 03:51:43 -0000 1.2 *************** *** 191,195 **** ++info_p->lost_connection; if (debug) ! fprintf (stderr, "The number of lost conncections is %d\n", info_p->lost_connection); } --- 191,195 ---- ++info_p->lost_connection; if (debug) ! fprintf (stderr, "The number of lost conncections is %zd\n", info_p->lost_connection); } *************** *** 494,498 **** info_p->max_connection = info_p->current_connection; if (debug) ! fprintf (stderr, "The maximum connection is updated. The number is %d.\n", info_p->max_connection); } delete_zombies(info_p); --- 494,498 ---- info_p->max_connection = info_p->current_connection; if (debug) ! fprintf (stderr, "The maximum connection is updated. The number is %zd.\n", info_p->max_connection); } delete_zombies(info_p); |