summaryrefslogtreecommitdiff
path: root/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-03-17 07:05:54 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-03-17 07:05:54 +0000
commit0b1eaf0b940a79ad1612bea648a649644db34bea (patch)
tree715d4a64d81ef3903a47d02fe7b7255265c4839f /ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
parente5a8f41d42584b678ea4cf4785ccf636560c13ac (diff)
downloadATCD-0b1eaf0b940a79ad1612bea648a649644db34bea.tar.gz
Diffstat (limited to 'ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp')
-rw-r--r--ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp b/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
index fe63ba6fc7b..c3883b8c2c5 100644
--- a/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
+++ b/ACE/tests/Thread_Timer_Queue_Adapter_Test.cpp
@@ -122,7 +122,7 @@ class CTestEventHandler : public ICustomEventHandler
/// Default constructor.
///
/// @return
- CTestEventHandler(int* p_iCallCount)
+ CTestEventHandler(long* p_iCallCount)
: m_p_iCallCount(p_iCallCount)
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("%I(%t) Initializing test event handler.\n")));
@@ -142,7 +142,7 @@ class CTestEventHandler : public ICustomEventHandler
/// @param p_vParameter
virtual int operator() (void* p_vParameter)
{
- int iParameter = (int) p_vParameter;
+ long iParameter = (long) p_vParameter;
ACE_DEBUG((LM_DEBUG,
ACE_TEXT("%I(%t) Incrementing test event handler call count by %d.\n"),
@@ -158,7 +158,7 @@ class CTestEventHandler : public ICustomEventHandler
private:
- int* m_p_iCallCount;
+ long* m_p_iCallCount;
ACE_Thread_Mutex m_Mutex;
};
@@ -184,7 +184,7 @@ run_main (int, ACE_TCHAR *[])
// Single timer
{
// Create a test event handler
- int iCallCount = 0;
+ long iCallCount = 0;
CTestEventHandler* p_TestEventHandler = 0;
ACE_NEW_RETURN(p_TestEventHandler, CTestEventHandler(&iCallCount), -1);
@@ -206,7 +206,7 @@ run_main (int, ACE_TCHAR *[])
// Single timer with cancellation
{
// Create a test event handler
- int iCallCount = 0;
+ long iCallCount = 0;
CTestEventHandler* p_TestEventHandler = 0;
ACE_NEW_RETURN(p_TestEventHandler, CTestEventHandler(&iCallCount), -1);
@@ -233,7 +233,7 @@ run_main (int, ACE_TCHAR *[])
// Repeating timer with cancellation
{
// Create a test event handler
- int iCallCount = 0;
+ long iCallCount = 0;
CTestEventHandler* p_TestEventHandler = 0;
ACE_NEW_RETURN(p_TestEventHandler, CTestEventHandler(&iCallCount), -1);
@@ -262,7 +262,7 @@ run_main (int, ACE_TCHAR *[])
// Multiple timers
{
// Create a test event handler
- int iCallCount = 0;
+ long iCallCount = 0;
CTestEventHandler* p_TestEventHandler = 0;
ACE_NEW_RETURN(p_TestEventHandler, CTestEventHandler(&iCallCount), -1);