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: ab84a70168
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-16 (Wed, 16 Dec 2009)



------------------
This commit was generated by Migit
This commit is contained in:
mws
2009-12-16 15:49:31 +00:00
parent 43e649073b
commit f834cd1df3

View File

@@ -1217,7 +1217,7 @@ void CChannelList::quickZap(int key, bool cycle)
int bsize = bouquetList->Bouquets.size(); int bsize = bouquetList->Bouquets.size();
if(!cycle && bsize > 1) { if(!cycle && bsize > 1) {
int bactive = bouquetList->getActiveBouquetNumber(); 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); 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)) { if ( (key==g_settings.key_quickzap_down) || (key == CRCInput::RC_left)) {
@@ -1359,7 +1359,7 @@ void CChannelList::paintDetails(int index)
else { else {
sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition()); sat_iterator_t sit = satellitePositions.find(chanlist[index]->getSatellitePosition());
if(sit != satellitePositions.end()) { 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()); snprintf(&buf[len], sizeof(buf) - len, "(%s)\n", sit->second.name.c_str());
} }
} }