diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/heartbeat_sender.cc | 2 | ||||
-rw-r--r-- | remoting/host/register_support_host_request.cc | 2 | ||||
-rw-r--r-- | remoting/protocol/jingle_messages.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc index 1f28521..ecd35ca 100644 --- a/remoting/host/heartbeat_sender.cc +++ b/remoting/host/heartbeat_sender.cc @@ -114,7 +114,7 @@ void HeartbeatSender::ProcessResponse(const XmlElement* response) { } // This method must only be called for error or result stanzas. - DCHECK_EQ(buzz::STR_RESULT, type); + DCHECK_EQ(std::string(buzz::STR_RESULT), type); const XmlElement* result_element = response->FirstNamed(QName(kChromotingXmlNamespace, kHeartbeatResultTag)); diff --git a/remoting/host/register_support_host_request.cc b/remoting/host/register_support_host_request.cc index d9e2166..338513d 100644 --- a/remoting/host/register_support_host_request.cc +++ b/remoting/host/register_support_host_request.cc @@ -129,7 +129,7 @@ bool RegisterSupportHostRequest::ParseResponse(const XmlElement* response, } // This method must only be called for error or result stanzas. - DCHECK_EQ(buzz::STR_RESULT, type); + DCHECK_EQ(std::string(buzz::STR_RESULT), type); const XmlElement* result_element = response->FirstNamed(QName( kChromotingXmlNamespace, kRegisterQueryResultTag)); diff --git a/remoting/protocol/jingle_messages.cc b/remoting/protocol/jingle_messages.cc index 4bf3252..1eaf69e 100644 --- a/remoting/protocol/jingle_messages.cc +++ b/remoting/protocol/jingle_messages.cc @@ -351,7 +351,7 @@ buzz::XmlElement* JingleMessageReply::ToXml( std::string type; std::string error_text; - QName name; + QName name(""); switch (error_type) { case BAD_REQUEST: type = "modify"; |