diff options
Diffstat (limited to 'tests/Message_Queue_Test.cpp')
-rw-r--r-- | tests/Message_Queue_Test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Message_Queue_Test.cpp b/tests/Message_Queue_Test.cpp index af5f2faf0e6..26b50b3f501 100644 --- a/tests/Message_Queue_Test.cpp +++ b/tests/Message_Queue_Test.cpp @@ -87,11 +87,11 @@ iterator_test (void) { const int ITERATIONS = 5; ACE_TCHAR buffer[ITERATIONS][BUFSIZ]; - // Use queue size from of 32 Kb (more if using wide-char), instead of the - // default of 16 Kb (defined by ACE_Message_Queue_Base::DEFAULT_HWM), - // so that the test runs on machines with 8Kb pagesizes. + // Use queue size from of 32 Kb, instead of the default of 16 Kb + // (defined by ACE_Message_Queue_Base::DEFAULT_HWM), so that the + // test runs on machines with 8Kb pagesizes. #if !defined(_UNICOS) - QUEUE queue (32 * 1024 * sizeof (ACE_TCHAR)); + QUEUE queue (32 * 1024); #else // this works on the Cray, where BUFSIZ is defined as 32Kb QUEUE queue (ITERATIONS * BUFSIZ - 1); |