fixes for 64bit archs: don't assume a pointer is 32bit wide

This commit is contained in:
Stefan Seyfried
2012-10-06 17:49:16 +02:00
parent 4009fea6d8
commit d806eeb544
15 changed files with 39 additions and 33 deletions

View File

@@ -1351,8 +1351,8 @@ CZapitChannel* CChannelList::getPrevNextChannel(int key, unsigned int &sl)
}
sl = cactive;
channel = bouquetList->Bouquets[bactive]->channelList->getChannelFromIndex(cactive);
printf("CChannelList::getPrevNextChannel: selected %d total %d active bouquet %d total %d channel %x (%s)\n",
cactive, chanlist.size(), bactive, bsize, (int) channel, channel ? channel->getName().c_str(): "");
printf("CChannelList::getPrevNextChannel: selected %d total %d active bouquet %d total %d channel %p (%s)\n",
cactive, chanlist.size(), bactive, bsize, channel, channel ? channel->getName().c_str(): "");
} else {
if ((key == g_settings.key_quickzap_down) || (key == CRCInput::RC_left)) {
if(sl == 0)