mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
rcinput: fix invalid narrowing cast
This commit is contained in:
committed by
M. Liebmann
parent
5c5b2b9a43
commit
33d2fb319a
@@ -1167,7 +1167,7 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6
|
|||||||
}
|
}
|
||||||
else if (emsg.initiatorID == CEventServer::INITID_NEUTRINO)
|
else if (emsg.initiatorID == CEventServer::INITID_NEUTRINO)
|
||||||
{
|
{
|
||||||
printf("CRCInput::getMsg_us: INITID_NEUTRINO: msg %x size %d data %x\n", (int) emsg.eventID, emsg.dataSize, (int) p);
|
printf("CRCInput::getMsg_us: INITID_NEUTRINO: msg %x size %d data %p\n", (int) emsg.eventID, emsg.dataSize, p);
|
||||||
if (emsg.eventID == NeutrinoMessages::EVT_HOTPLUG) {
|
if (emsg.eventID == NeutrinoMessages::EVT_HOTPLUG) {
|
||||||
printf("EVT_HOTPLUG: [%s]\n", (char *) p);
|
printf("EVT_HOTPLUG: [%s]\n", (char *) p);
|
||||||
*msg = emsg.eventID;
|
*msg = emsg.eventID;
|
||||||
|
Reference in New Issue
Block a user