From: Lars Op den Kamp Date: Fri, 5 Apr 2013 08:50:06 +0000 (+0200) Subject: fixed compilation errors X-Git-Tag: upstream/2.2.0~1^2~4^2~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7f913ac9bcf453b455321397e675bb8e529e049e;p=deb_libcec.git fixed compilation errors --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 2aa81ca..a44b81e 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -480,7 +480,7 @@ void CCECProcessor::TransmitAbort(cec_logical_address source, cec_logical_addres void CCECProcessor::ProcessCommand(const cec_command &command) { // log the command - m_libcec->AddLog(CEC_LOG_TRAFFIC, CCECTypeUtils::ToString(command).c_str()); + m_libcec->AddLog(CEC_LOG_TRAFFIC, ToString(command).c_str()); // find the initiator CCECBusDevice *device = m_busDevices->At(command.initiator); diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 1c1b1ff..89b5b7e 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -1293,6 +1293,6 @@ void CCECCommandHandler::RequestEmailFromCustomer(const cec_command& command) m_logsRequested.insert(make_pair(command.opcode, commands)); } - LIB_CEC->AddLog(CEC_LOG_NOTICE, "Unmapped code detected. Please send an email to support@pulse-eight.com with the following details, and if you pressed a key, tell us which one you pressed, and we'll add support for this it.\nCEC command: %s\nVendor ID: %s (%06x)", CCECTypeUtils::ToString(command).c_str(), CCECTypeUtils::ToString(m_vendorId), m_vendorId); + LIB_CEC->AddLog(CEC_LOG_NOTICE, "Unmapped code detected. Please send an email to support@pulse-eight.com with the following details, and if you pressed a key, tell us which one you pressed, and we'll add support for this it.\nCEC command: %s\nVendor ID: %s (%06x)", ToString(command).c_str(), ToString(m_vendorId), m_vendorId); }