diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 16:32:43 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-15 16:32:43 +0000 |
commit | 7479e474852b0cc3e7fdae51a1113f28fffcc327 (patch) | |
tree | c6b1521edb97230c0daadef2dafcf1bbe45333ef /examples | |
parent | 7bb3a451c3c65c451badae024837acd74f0a6247 (diff) | |
download | ATCD-7479e474852b0cc3e7fdae51a1113f28fffcc327.tar.gz |
(handle_timeout): convert void *arg to long if ACE_HAS_64BIT_LONGS
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Reactor/Misc/test_timer_queue.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/Reactor/Misc/test_timer_queue.cpp b/examples/Reactor/Misc/test_timer_queue.cpp index 317518ebb72..ea8fc456392 100644 --- a/examples/Reactor/Misc/test_timer_queue.cpp +++ b/examples/Reactor/Misc/test_timer_queue.cpp @@ -15,7 +15,12 @@ public: { ACE_DEBUG ((LM_DEBUG, "yow, the time has come and gone %d times %d, Horatio!\n", - this->count_++, int (arg))); + this->count_++, +#if defined (ACE_HAS_64BIT_LONGS) + long (arg))); +#else /* ! ACE_HAS_64BIT_LONGS */ + int (arg))); +#endif /* ! ACE_HAS_64BIT_LONGS */ return 0; } |