summaryrefslogtreecommitdiff
path: root/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp')
-rw-r--r--ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp b/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
index e59f43c621a..a364b027ba5 100644
--- a/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
+++ b/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
@@ -13,7 +13,6 @@
#include "ace/Timer_Wheel.h"
#include "ace/Timer_Queue_Adapters.h"
-#include "ace/Truncate.h"
#include "test_config.h"
#if defined (ACE_HAS_THREADS)
@@ -144,7 +143,7 @@ class CTestEventHandler : public ICustomEventHandler
/// @param p_vParameter
virtual int operator() (void* p_vParameter)
{
- long iParameter = ACE_Utils::truncate_cast<long> ((intptr_t)p_vParameter);
+ long iParameter = (long) p_vParameter;
ACE_DEBUG((LM_DEBUG,
ACE_TEXT("%I(%t) Incrementing test event handler call count by %d.\n"),