diff options
Diffstat (limited to 'TAO/tests/Codec/client.cpp')
-rw-r--r-- | TAO/tests/Codec/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tests/Codec/client.cpp b/TAO/tests/Codec/client.cpp index a5048d39e31..d9e0019a156 100644 --- a/TAO/tests/Codec/client.cpp +++ b/TAO/tests/Codec/client.cpp @@ -123,7 +123,7 @@ main (int argc, char *argv[]) ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - if ((ACE_reinterpret_cast (ptrdiff_t, encoded_data->get_buffer ()) + if ((reinterpret_cast<ptrdiff_t> (encoded_data->get_buffer ()) % ACE_CDR::MAX_ALIGNMENT) == 0) ACE_DEBUG ((LM_DEBUG, "\nData for decoding are already aligned" @@ -160,7 +160,7 @@ main (int argc, char *argv[]) ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; - if ((ACE_reinterpret_cast (ptrdiff_t, encoded_data->get_buffer ()) + if ((reinterpret_cast<ptrdiff_t> (encoded_data->get_buffer ()) % ACE_CDR::MAX_ALIGNMENT) == 0) ACE_DEBUG ((LM_WARNING, "\n" |