summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator/Misc/Timer_Service.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-23 20:20:50 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-23 20:20:50 +0000
commit985fae02dc44fa1244200d2ad7f1bd810395c096 (patch)
tree4b8c0bb1e3263f7b2e3be35fcfaeae909e0b1e48 /examples/Service_Configurator/Misc/Timer_Service.cpp
parent601520b0e55128c657cb1170ddcac7ea81694624 (diff)
downloadATCD-985fae02dc44fa1244200d2ad7f1bd810395c096.tar.gz
changed type of loop index to int to avoid signed/unsigned comparison, and initialized "interval"
Diffstat (limited to 'examples/Service_Configurator/Misc/Timer_Service.cpp')
-rw-r--r--examples/Service_Configurator/Misc/Timer_Service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Service_Configurator/Misc/Timer_Service.cpp b/examples/Service_Configurator/Misc/Timer_Service.cpp
index 59c271e3eab..cd045a28108 100644
--- a/examples/Service_Configurator/Misc/Timer_Service.cpp
+++ b/examples/Service_Configurator/Misc/Timer_Service.cpp
@@ -9,10 +9,10 @@ Timer_Service::init (int argc, char *argv[])
"in Timer_Service::init, argv[0] = %s, argc == %d\n",
argv[0], argc));
- for (size_t i = 0; i < argc; i++)
+ for (int i = 0; i < argc; i++)
ACE_DEBUG ((LM_DEBUG, "argv[%d] = %s\n", i, argv[i]));
- int interval;
+ int interval = Timer_Service::TIMEOUT;
if (argc > 1)
{