diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index c5ba9c4e0..7f4d7e533 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -30,7 +30,7 @@ Author: Günther@tuxbox.berlios.org based on code of Steffen Hehn 'McClean' - (C) 2009-2014 Stefan Seyfried + (C) 2009-2015 Stefan Seyfried ****************************************************************************/ @@ -1212,7 +1212,7 @@ std::string CMovieBrowser::getScreenshotName(std::string movie, bool is_dir) void CMovieBrowser::refreshMovieInfo(void) { - TRACE("[mb]->%s m_vMovieInfo.size %d\n", __func__, m_vMovieInfo.size()); + TRACE("[mb]->%s m_vMovieInfo.size %d\n", __func__, (int)m_vMovieInfo.size()); //reset text before new init, m_pcInfo must be clean std::string emptytext = " "; m_pcInfo->setText(&emptytext); diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 9bc3ea036..1681c7a8d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2286,7 +2286,7 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu) m_idletime = time(NULL); if (m_screensaver) { - printf("[neutrino] CSreenSaver stop; msg: %X\n", msg); + printf("[neutrino] CSreenSaver stop; msg: %lX\n", msg); screensaver(false); videoDecoder->StopPicture(); diff --git a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp index 40d312d23..5cc68137b 100644 --- a/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp +++ b/src/nhttpd/tuxboxapi/coolstream/neutrinoyparser.cpp @@ -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); }