From f834cd1df3f811df5da391967c0623bf7c56de68 Mon Sep 17 00:00:00 2001 From: mws Date: Wed, 16 Dec 2009 15:49:31 +0000 Subject: [PATCH] fix sign of integer. comment in unused var git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@65 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ab84a70168348e1b1989e39e2ab1201a6c9ef50c Author: mws Date: 2009-12-16 (Wed, 16 Dec 2009) ------------------ This commit was generated by Migit --- src/gui/channellist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 45c975e91..e468bdab8 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -1217,7 +1217,7 @@ void CChannelList::quickZap(int key, bool cycle) int bsize = bouquetList->Bouquets.size(); if(!cycle && bsize > 1) { int bactive = bouquetList->getActiveBouquetNumber(); - int cactive = selected; + size_t cactive = selected; printf("CChannelList::quickZap: selected %d total %d active bouquet %d total %d\n", cactive, chanlist.size(), bactive, bsize); if ( (key==g_settings.key_quickzap_down) || (key == CRCInput::RC_left)) { @@ -1359,7 +1359,7 @@ void CChannelList::paintDetails(int index) else { sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition()); if(sit != satellitePositions.end()) { - int satNameWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth (sit->second.name); + //int satNameWidth = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->getRenderWidth (sit->second.name); snprintf(&buf[len], sizeof(buf) - len, "(%s)\n", sit->second.name.c_str()); } }