summaryrefslogtreecommitdiff
path: root/TAO/tests/Param_Test/nested_struct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Param_Test/nested_struct.cpp')
-rw-r--r--TAO/tests/Param_Test/nested_struct.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/Param_Test/nested_struct.cpp b/TAO/tests/Param_Test/nested_struct.cpp
index 0b208edd2e3..bcf91d9bf5a 100644
--- a/TAO/tests/Param_Test/nested_struct.cpp
+++ b/TAO/tests/Param_Test/nested_struct.cpp
@@ -20,7 +20,7 @@
#include "nested_struct.h"
ACE_RCSID (Param_Test,
- nested_struct,
+ nested_struct,
"$Id$")
// ************************************************************************
@@ -168,9 +168,9 @@ Test_Nested_Struct::check_validity (void)
// lengths are same. Now compare the contents
for (CORBA::ULong i=0; i < this->in_.vs.seq.length () && flag; i++)
{
- if (ACE_OS::strcmp (this->in_.vs.seq[i].in(), this->inout_->vs.seq[i].in()) ||
- ACE_OS::strcmp (this->in_.vs.seq[i].in(), this->out_->vs.seq[i].in()) ||
- ACE_OS::strcmp (this->in_.vs.seq[i].in(), this->ret_->vs.seq[i].in()))
+ if (ACE_OS::strcmp (static_cast<const char*>(this->in_.vs.seq[i]), static_cast<const char*>(this->inout_->vs.seq[i])) ||
+ ACE_OS::strcmp (static_cast<const char*>(this->in_.vs.seq[i]), static_cast<const char*>(this->out_->vs.seq[i])) ||
+ ACE_OS::strcmp (static_cast<const char*>(this->in_.vs.seq[i]), static_cast<const char*>(this->ret_->vs.seq[i])))
// not equal
flag = 0;
}