summaryrefslogtreecommitdiff
path: root/ACE/examples/Service_Configurator/IPC-tests
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Service_Configurator/IPC-tests')
-rw-r--r--ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl
index 346a22e773c..a5f1421b8b9 100644
--- a/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl
+++ b/ACE/examples/Service_Configurator/IPC-tests/server/Handle_Timeout.inl
@@ -31,7 +31,7 @@ Handle_Timeout::init (int argc, ACE_TCHAR *argv[])
ACE_Time_Value delta (10);
ACE_Time_Value interval (1);
ACE_Get_Opt get_opt (argc, argv, ACE_TEXT("a:d:i:"), 0);
- int arg = 0;
+ intptr_t arg = 0;
for (int c; (c = get_opt ()) != -1; )
switch (c)
@@ -51,8 +51,8 @@ Handle_Timeout::init (int argc, ACE_TCHAR *argv[])
if (ACE_Reactor::instance ()->schedule_timer (this,
reinterpret_cast<void *> (arg),
- delta,
- interval) == -1)
+ delta,
+ interval) == -1)
return -1;
else
return 0;