diff options
| author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-01 19:36:43 +0000 |
|---|---|---|
| committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-01 19:36:43 +0000 |
| commit | d4ecc96b80819d179ed428bf5c024eb4b4f8aefa (patch) | |
| tree | 680e80c1e42ee224c85aa296cc86edcc02849c26 /tests/Timer_Queue_Test.cpp | |
| parent | 86f97b04401862c5e7cbe7573cb1204422498fef (diff) | |
| download | ATCD-d4ecc96b80819d179ed428bf5c024eb4b4f8aefa.tar.gz | |
Switched some casts around
Diffstat (limited to 'tests/Timer_Queue_Test.cpp')
| -rw-r--r-- | tests/Timer_Queue_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Timer_Queue_Test.cpp b/tests/Timer_Queue_Test.cpp index a47e781388a..d99802bf386 100644 --- a/tests/Timer_Queue_Test.cpp +++ b/tests/Timer_Queue_Test.cpp @@ -66,8 +66,8 @@ public: virtual int handle_timeout (const ACE_Time_Value &, const void *arg) { - ACE_ASSERT ((int) arg == 42 || (int) arg == 007); - if ((int) arg != 42) + ACE_ASSERT (arg == (const void *) 42 || arg == (const void *)007); + if (arg != (const void *)42) return -1; else return 0; |
