mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino: fix format string warnings
This commit is contained in:
@@ -2632,7 +2632,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
|||||||
|
|
||||||
if(msg == NeutrinoMessages::EVT_WEBTV_ZAP_COMPLETE) {
|
if(msg == NeutrinoMessages::EVT_WEBTV_ZAP_COMPLETE) {
|
||||||
t_channel_id chid = *(t_channel_id *) data;
|
t_channel_id chid = *(t_channel_id *) data;
|
||||||
printf("EVT_WEBTV_ZAP_COMPLETE: %llx\n", chid);
|
printf("EVT_WEBTV_ZAP_COMPLETE: %" PRIx64 "\n", chid);
|
||||||
if (mode == mode_standby) {
|
if (mode == mode_standby) {
|
||||||
delete [] (unsigned char*) data;
|
delete [] (unsigned char*) data;
|
||||||
} else {
|
} else {
|
||||||
@@ -3155,7 +3155,7 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
|
|||||||
return messages_return::handled;
|
return messages_return::handled;
|
||||||
}
|
}
|
||||||
else if( msg == NeutrinoMessages::CHANGEMODE ) {
|
else if( msg == NeutrinoMessages::CHANGEMODE ) {
|
||||||
printf("CNeutrinoApp::handleMsg: CHANGEMODE to %d rezap %d\n", data & mode_mask, (data & norezap) != norezap);
|
printf("CNeutrinoApp::handleMsg: CHANGEMODE to %d rezap %d\n", (int)(data & mode_mask), (data & norezap) != norezap);
|
||||||
if((data & mode_mask)== mode_radio) {
|
if((data & mode_mask)== mode_radio) {
|
||||||
if( mode != mode_radio ) {
|
if( mode != mode_radio ) {
|
||||||
radioMode((data & norezap) != norezap);
|
radioMode((data & norezap) != norezap);
|
||||||
|
Reference in New Issue
Block a user