mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
infoviewer: avoid possible compiler warnings with -Wignored-qualifiers
The leading const should be superfluous.
This commit is contained in:
@@ -1530,7 +1530,7 @@ void CInfoViewer::sendNoEpg(const t_channel_id for_channel_id)
|
|||||||
if (!zap_mode/* & IV_MODE_DEFAULT*/) {
|
if (!zap_mode/* & IV_MODE_DEFAULT*/) {
|
||||||
char *p = new char[sizeof(t_channel_id)];
|
char *p = new char[sizeof(t_channel_id)];
|
||||||
memcpy(p, &for_channel_id, sizeof(t_channel_id));
|
memcpy(p, &for_channel_id, sizeof(t_channel_id));
|
||||||
g_RCInput->postMsg (NeutrinoMessages::EVT_NOEPG_YET, (const neutrino_msg_data_t) p, false);
|
g_RCInput->postMsg (NeutrinoMessages::EVT_NOEPG_YET, (neutrino_msg_data_t) p, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1580,7 +1580,7 @@ void CInfoViewer::getEPG(const t_channel_id for_channel_id, CSectionsdClient::Cu
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
msg = NeutrinoMessages::EVT_NOEPG_YET;
|
msg = NeutrinoMessages::EVT_NOEPG_YET;
|
||||||
g_RCInput->postMsg(msg, (const neutrino_msg_data_t)p, false); // data is pointer to allocated memory
|
g_RCInput->postMsg(msg, (neutrino_msg_data_t)p, false); // data is pointer to allocated memory
|
||||||
copy_info(&info,&oldinfo);
|
copy_info(&info,&oldinfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user