fix compiler warnings in several console outputs

Origin commit data
------------------
Commit: 4b2e03d348
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)

Origin message was:
------------------
- fix compiler warnings in several console outputs
This commit is contained in:
vanhofen
2017-09-20 11:53:02 +02:00
parent b7af37cf1d
commit 8d642a4d57
3 changed files with 6 additions and 6 deletions

View File

@@ -469,7 +469,7 @@ int CRCInput::addTimer(uint64_t Interval, bool oneshot, bool correct_time )
_newtimer.correct_time = correct_time; _newtimer.correct_time = correct_time;
printf("adding timer %d (0x%llx, 0x%llx)\n", _newtimer.id, _newtimer.times_out, Interval); printf("adding timer %d (0x%lu, 0x%lu)\n", _newtimer.id, _newtimer.times_out, Interval);
std::vector<timer>::iterator e; std::vector<timer>::iterator e;
for ( e= timers.begin(); e!= timers.end(); ++e ) for ( e= timers.begin(); e!= timers.end(); ++e )

View File

@@ -223,7 +223,7 @@ void CComponentsFooter::setButtonLabels(const struct button_label_cc * const con
btn->setButtonFont(NULL); btn->setButtonFont(NULL);
} }
dprintf(DEBUG_INFO, "[CComponentsFooter] [%s - %d] button %s [%zu] btn->getWidth() = %d w_btn = %d, (chain->getWidth() = %d)\n", __func__, __LINE__, txt.c_str(), (uint32_t)i, btn->getWidth(), w_btn, btn_container->getWidth()); dprintf(DEBUG_INFO, "[CComponentsFooter] [%s - %d] button %s [%u] btn->getWidth() = %d w_btn = %d, (chain->getWidth() = %d)\n", __func__, __LINE__, txt.c_str(), (uint32_t)i, btn->getWidth(), w_btn, btn_container->getWidth());
} }
/* add generated button objects to chain object. /* add generated button objects to chain object.

View File

@@ -2586,8 +2586,8 @@ bool CMovieBrowser::onDelete(bool cursor_only)
getSelectedFiles(filelist, movielist); getSelectedFiles(filelist, movielist);
printf("CMovieBrowser::onDelete(%s) filelist size: %d\n", cursor_only ? "true" : "false", filelist.size()); printf("CMovieBrowser::onDelete(%s) filelist size: %lu\n", cursor_only ? "true" : "false", filelist.size());
printf("CMovieBrowser::onDelete(%s) movielist size: %d\n", cursor_only ? "true" : "false", movielist.size()); printf("CMovieBrowser::onDelete(%s) movielist size: %lu\n", cursor_only ? "true" : "false", movielist.size());
if (cursor_only || (filelist.empty() || movielist.empty())) if (cursor_only || (filelist.empty() || movielist.empty()))
{ {
@@ -2602,8 +2602,8 @@ bool CMovieBrowser::onDelete(bool cursor_only)
filelist.push_back(m_movieSelectionHandler->file); filelist.push_back(m_movieSelectionHandler->file);
movielist.push_back(m_movieSelectionHandler); movielist.push_back(m_movieSelectionHandler);
printf("CMovieBrowser::onDelete(%s) filelist size: %d\n", cursor_only ? "true" : "false", filelist.size()); printf("CMovieBrowser::onDelete(%s) filelist size: %lu\n", cursor_only ? "true" : "false", filelist.size());
printf("CMovieBrowser::onDelete(%s) movielist size: %d\n", cursor_only ? "true" : "false", movielist.size()); printf("CMovieBrowser::onDelete(%s) movielist size: %lu\n", cursor_only ? "true" : "false", movielist.size());
} }
MI_MOVIE_LIST dellist; MI_MOVIE_LIST dellist;