summaryrefslogtreecommitdiff
path: root/examples/Threads/thread_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/thread_manager.cpp')
-rw-r--r--examples/Threads/thread_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Threads/thread_manager.cpp b/examples/Threads/thread_manager.cpp
index 1bea4d676a3..704cf88753b 100644
--- a/examples/Threads/thread_manager.cpp
+++ b/examples/Threads/thread_manager.cpp
@@ -63,7 +63,7 @@ main (int argc, char *argv[])
ACE_Thread_Manager *thr_mgr = ACE_Thread_Manager::instance ();
int grp_id = thr_mgr->spawn_n (n_threads, ACE_THR_FUNC (worker),
- (void *) n_iterations,
+ ACE_reinterpret_cast (void *, n_iterations),
THR_NEW_LWP | THR_DETACHED);
// Wait for 1 second and then suspend every thread in the group.