summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Trader
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader')
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
index 60513db6b78..6ddef432010 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Interfaces.cpp
@@ -333,7 +333,7 @@ lookup_all_subtypes (const char* type,
for (CORBA::ULong j = 0; j < num_super_types; j++)
{
- if (ACE_OS::strcmp (type_struct->super_types[j], type) == 0)
+ if (ACE_OS::strcmp (static_cast<const char*>(type_struct->super_types[j]), type) == 0)
{
// Egads, a subtype! This type has the type passed
// to query in its list of super_types.
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
index 4de7d0c8638..585519e1ec8 100644
--- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
+++ b/TAO/orbsvcs/orbsvcs/Trader/Trader_Utils.cpp
@@ -908,7 +908,7 @@ copy_in_follow_option (CosTrading::PolicySeq& policy_seq,
CORBA::ULong i = 0;
for (i = 0; i < policy_seq.length (); i++)
- if (ACE_OS::strcmp (policy_seq[i].name,
+ if (ACE_OS::strcmp (policy_seq[i].name.in(),
POLICY_NAMES[LINK_FOLLOW_RULE]) == 0)
{
policy_seq[i].value <<= follow_option;