X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FSLCommandHandler.cpp;h=6e4b92f866874f3913acf285ee7365c9dbd943e2;hb=6359ffd1d200e28f5cf7ae574960e535e28b14d7;hp=dd9aec148051005bac7bb73138e7894476dcaa04;hpb=b750a5c3fb139dade6974a1f99a9d090ae706d5b;p=deb_libcec.git diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index dd9aec1..6e4b92f 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -75,7 +75,7 @@ bool CSLCommandHandler::HandleVendorCommand(const cec_command &command) cec_command response; cec_command::Format(response, command.destination, command.initiator, CEC_OPCODE_VENDOR_COMMAND, m_iTransmitTimeout); response.PushBack(SL_COMMAND_CONNECT_ACCEPT); - response.PushBack(m_busDevice->GetProcessor()->GetLogicalAddresses().primary); + response.PushBack((uint8_t)m_busDevice->GetProcessor()->GetLogicalAddresses().primary); Transmit(response); /* set deck status for the playback device */