diff options
Diffstat (limited to 'TAO/tests/Param_Test/ub_str_seq.cpp')
-rw-r--r-- | TAO/tests/Param_Test/ub_str_seq.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tests/Param_Test/ub_str_seq.cpp b/TAO/tests/Param_Test/ub_str_seq.cpp index 730701506f0..ba7ed77ef62 100644 --- a/TAO/tests/Param_Test/ub_str_seq.cpp +++ b/TAO/tests/Param_Test/ub_str_seq.cpp @@ -152,9 +152,9 @@ Test_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], this->inout_[i]) || - ACE_OS::strcmp(this->in_[i], this->out_[i]) || - ACE_OS::strcmp(this->in_[i], this->ret_[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())) // not equal flag = 0; } |