win32: fix accidental rename and compiler warnings
[deb_libcec.git] / src / lib / CECProcessor.cpp
index 618cd9aeca6585f6995492c6a54acd2ad7ae9a4e..52023e53f56cbae9e735314eb2883fba376cd90c 100644 (file)
@@ -827,7 +827,7 @@ bool CCECProcessor::ParseMessage(const CCECAdapterMessage &msg)
         m_currentframe.ack         = msg.ack();
         m_currentframe.eom         = msg.eom();
       }
-      if (m_currentframe.ack == true)
+      if (m_currentframe.ack == 0x1)
       {
         m_lastInitiator = m_currentframe.initiator;
         m_busDevices[m_lastInitiator]->GetHandler()->HandlePoll(m_currentframe.initiator, m_currentframe.destination);