From 4d14323b2ecc400110ace550ae7e4739964dfa8b Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 26 Apr 2012 01:15:31 +0200 Subject: [PATCH] cec: fixed compilation warning on win64 --- src/lib/CECProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 8ac48d4..07e7d8f 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -195,7 +195,7 @@ bool CCECProcessor::OpenConnection(const char *strPort, uint16_t iBaudRate, uint { time_t buildTime = (time_t)m_configuration.iFirmwareBuildDate; strLog.AppendFormat(", firmware build date: %s", asctime(gmtime(&buildTime))); - strLog = strLog.Left(strLog.length() - 1); // strip \n added by asctime + strLog = strLog.Left((int)strLog.length() - 1); // strip \n added by asctime strLog.append(" +0000"); } CLibCEC::AddLog(CEC_LOG_NOTICE, strLog); -- 2.34.1