summaryrefslogtreecommitdiff
path: root/tests/Conn_Test.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-27 02:53:32 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-27 02:53:32 +0000
commita2c19519bef46a7c9b262c2b98eaf359a04b42cd (patch)
tree7dd68c9f0a789e717741131283d34da864ec0985 /tests/Conn_Test.cpp
parent736408b4d638d42de1bed839d077a2066b3a3ccb (diff)
downloadATCD-a2c19519bef46a7c9b262c2b98eaf359a04b42cd.tar.gz
(cached_connect): changed type of loop index i to int to avoid signed/unsigned comparison.
Diffstat (limited to 'tests/Conn_Test.cpp')
-rw-r--r--tests/Conn_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Conn_Test.cpp b/tests/Conn_Test.cpp
index 0412a539cd1..7d30e37cdae 100644
--- a/tests/Conn_Test.cpp
+++ b/tests/Conn_Test.cpp
@@ -225,7 +225,7 @@ static void
cached_connect (STRAT_CONNECTOR &con,
const ACE_INET_Addr &server_addr)
{
- for (size_t i = 0; i < n_client_iterations; i++)
+ for (int i = 0; i < n_client_iterations; i++)
{
Svc_Handler *svc_handler = 0;
@@ -243,7 +243,7 @@ cached_connect (STRAT_CONNECTOR &con,
svc_handler->send_data ();
// Svc_Handler is now idle, so mark it as such and let the cache
- // recycle it in another thread.
+ // recycle it in another thread.
svc_handler->idle (1);
// Rest for a second to give another thread a chance to reuse the