summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
index 97756114183..1a686da4f39 100644
--- a/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
+++ b/TAO/orbsvcs/orbsvcs/AV/AVStreams_i.cpp
@@ -1853,8 +1853,8 @@ TAO_StreamEndPoint::connect (AVStreams::StreamEndPoint_ptr responder,
for (u_int i=0;i<peer_protocols.length ();i++)
{
for (u_int j=0;j<this->protocols_.length ();j++)
- if (ACE_OS::strcmp (peer_protocols [i],
- this->protocols_[j]) == 0)
+ if (ACE_OS::strcmp (static_cast<const char*>(peer_protocols [i]),
+ static_cast<const char*>(this->protocols_[j])) == 0)
{
// we'll agree upon the first protocol that matches.
this->protocol_ = CORBA::string_dup (peer_protocols [i]);
@@ -2069,7 +2069,7 @@ TAO_StreamEndPoint::start (const AVStreams::flowSpec &flow_spec
forward_begin != end; ++forward_begin)
{
TAO_FlowSpec_Entry *entry = *forward_begin;
- if (ACE_OS::strcmp (entry->flowname (), flow_spec [i]) == 0)
+ if (ACE_OS::strcmp (entry->flowname (), static_cast<const char*>(flow_spec [i])) == 0)
{
// entry->protocol_object ()->start ();
if (entry->handler () != 0)
@@ -2088,7 +2088,7 @@ TAO_StreamEndPoint::start (const AVStreams::flowSpec &flow_spec
reverse_begin != end; ++reverse_begin)
{
TAO_FlowSpec_Entry *entry = *reverse_begin;
- if (ACE_OS::strcmp (entry->flowname (), flow_spec [i]) == 0)
+ if (ACE_OS::strcmp (entry->flowname (), static_cast<const char*>(flow_spec [i])) == 0)
{
// entry->protocol_object ()->start ();
if (entry->handler () != 0)
@@ -2624,7 +2624,7 @@ TAO_StreamEndPoint::remove_fep (const char *flow_name
// redefine the "Flows" property
AVStreams::flowSpec new_flows (this->flows_.length ());
for (u_int i=0, j=0 ; i <this->flows_.length (); i++)
- if (ACE_OS::strcmp (flow_name, this->flows_[i]) != 0)
+ if (ACE_OS::strcmp (flow_name, static_cast<const char*>(this->flows_[i])) != 0)
new_flows[j++] = this->flows_[i];
CORBA::Any flows;
@@ -2877,7 +2877,7 @@ TAO_StreamEndPoint_A::multiconnect (AVStreams::streamQoS &stream_qos,
if (result == 0)
{
mcast_addr = dynamic_cast<ACE_INET_Addr *> (entry->address ());
- char str_addr [BUFSIZ];
+ ACE_TCHAR str_addr [BUFSIZ];
result = mcast_addr->addr_to_string (str_addr, BUFSIZ);
if (result < 0)
ACE_ERROR_RETURN ((LM_ERROR, "TAO_StreamEndPointA::multiconnect ::addr_to_string failed\n"), 0);
@@ -2902,7 +2902,7 @@ TAO_StreamEndPoint_A::multiconnect (AVStreams::streamQoS &stream_qos,
0);
mcast_addr->set (this->mcast_port_, this->mcast_addr_.c_str ());
this->mcast_port_++;
- char buf[BUFSIZ];
+ ACE_TCHAR buf[BUFSIZ];
mcast_addr->addr_to_string (buf, BUFSIZ);
if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, "%s\n", buf));
TAO_Forward_FlowSpec_Entry *new_entry;
@@ -3848,7 +3848,7 @@ TAO_MMDevice::remove_fdev (const char *flow_name
AVStreams::flowSpec new_flows (this->flows_.length ());
for (u_int i=0, j=0 ; i <this->flows_.length (); i++)
- if (ACE_OS::strcmp (flow_name, this->flows_[i]) != 0)
+ if (ACE_OS::strcmp (flow_name, static_cast<const char*>(this->flows_[i])) != 0)
new_flows[j++] = this->flows_[i];
CORBA::Any flows;
@@ -4248,7 +4248,7 @@ TAO_FlowConnection::add_producer (AVStreams::FlowProducer_ptr producer,
this->mcast_addr_.c_str ()
);
- char buf [BUFSIZ];
+ ACE_TCHAR buf [BUFSIZ];
mcast_addr.addr_to_string (buf, BUFSIZ);
ACE_OS::sprintf (mcast_address, "%s=%s", this->protocol_.in (), buf);
}