diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 18:54:53 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 18:54:53 +0000 |
commit | 349f1415468cf35f9aa5d885796528103a0c45a6 (patch) | |
tree | b59964d88d28c4370d5df2a819c8740c76aa38fd /examples/Reactor | |
parent | ffda12a3423dae8ba72e78f634c133028b36234c (diff) | |
download | ATCD-349f1415468cf35f9aa5d885796528103a0c45a6.tar.gz |
moved ACE_HAS_64BIT_LONG out of ACE_DEBUG macro
Diffstat (limited to 'examples/Reactor')
-rw-r--r-- | examples/Reactor/Misc/test_timer_queue.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/Reactor/Misc/test_timer_queue.cpp b/examples/Reactor/Misc/test_timer_queue.cpp index ea8fc456392..f9c5e465460 100644 --- a/examples/Reactor/Misc/test_timer_queue.cpp +++ b/examples/Reactor/Misc/test_timer_queue.cpp @@ -13,14 +13,16 @@ public: virtual int handle_timeout (const ACE_Time_Value &, const void *arg) { - ACE_DEBUG ((LM_DEBUG, - "yow, the time has come and gone %d times %d, Horatio!\n", - this->count_++, #if defined (ACE_HAS_64BIT_LONGS) - long (arg))); + int times = long (arg); #else /* ! ACE_HAS_64BIT_LONGS */ - int (arg))); + int times = int (arg); #endif /* ! ACE_HAS_64BIT_LONGS */ + + ACE_DEBUG ((LM_DEBUG, + "yow, the time has come and gone %d times %d, Horatio!\n", + this->count_++, + times)); return 0; } |