cec: fixed some int conversions that made the win32 build because it's configured...
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 5123ef0e8ad128ea51d76ffdd3e9df978b8ab0e9..d83ccb27df6ccee54e5ea1f7d01892447edc8812 100644 (file)
@@ -423,7 +423,7 @@ bool CCECBusDevice::TransmitCECVersion(cec_logical_address dest)
 
   cec_command command;
   cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_CEC_VERSION);
-  command.parameters.push_back(m_cecVersion);
+  command.parameters.push_back((uint8_t)m_cecVersion);
 
   return m_processor->Transmit(command);
 }