summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/bd_str_seq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/bd_str_seq.cpp')
-rw-r--r--TAO/tests/Param_Test/bd_str_seq.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tests/Param_Test/bd_str_seq.cpp b/TAO/tests/Param_Test/bd_str_seq.cpp
index 3c85b5c2747..bdca2f02cdc 100644
--- a/TAO/tests/Param_Test/bd_str_seq.cpp
+++ b/TAO/tests/Param_Test/bd_str_seq.cpp
@@ -19,8 +19,8 @@
#include "helper.h"
#include "bd_str_seq.h"
-ACE_RCSID (Param_Test,
- bd_str_seq,
+ACE_RCSID (Param_Test,
+ bd_str_seq,
"$Id$")
// ************************************************************************
@@ -150,9 +150,9 @@ Test_Bounded_String_Sequence::check_validity (void)
// lengths are same. Now compare the contents
for (CORBA::ULong i=0; i < this->in_->length () && flag; i++)
{
- if (ACE_OS::strcmp(this->in_[i].in(), this->inout_[i].in()) ||
- ACE_OS::strcmp(this->in_[i].in(), this->out_[i].in()) ||
- ACE_OS::strcmp(this->in_[i].in(), this->ret_[i].in()))
+ if (ACE_OS::strcmp(static_cast<const char*>(this->in_[i]), static_cast<const char*>(this->inout_[i])) ||
+ ACE_OS::strcmp(static_cast<const char*>(this->in_[i]), static_cast<const char*>(this->out_[i])) ||
+ ACE_OS::strcmp(static_cast<const char*>(this->in_[i]), static_cast<const char*>(this->ret_[i])))
// not equal
flag = 0;
}