mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
fix 64bit format string warnings
This commit is contained in:
@@ -569,7 +569,7 @@ std::string CNeutrinoYParser::func_get_audio_pids_as_dropdown(CyhookHandler *,
|
||||
if(para == "apid")
|
||||
idx_as_id=false;
|
||||
else if(!para.empty() && ("channel="== para.substr(0,8))){
|
||||
if (sscanf(para.c_str(), "channel=%llx:audio=%i:", ¤t_channel_id,&selected_apid) == 2) {
|
||||
if (sscanf(para.c_str(), "channel=%" SCNx64 ":audio=%i:", ¤t_channel_id,&selected_apid) == 2) {
|
||||
if(current_channel_id != 0 && CZapit::getInstance()->GetCurrentChannelID() != current_channel_id){
|
||||
channel = CServiceManager::getInstance()->FindChannel(current_channel_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user