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

Origin commit data
------------------
Branch: ni/coolstream
Commit: d806eeb544
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-10-06 (Sat, 06 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2012-10-06 17:49:16 +02:00
parent d26c759aa9
commit 485656f13a
15 changed files with 39 additions and 33 deletions

View File

@@ -333,7 +333,10 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
return menu_return::RETURN_REPAINT;
}
int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
/* this is not type "int", because it does not return a code indicating success but
* instead returns altered "msg". This is different ot all other "handleMsg" functions
* and should probably be fixed somewhen... */
neutrino_msg_t CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
{
int w = x + width - xpos2;
//printf("CScanTs::handleMsg: x %d xpos2 %d width %d w %d\n", x, xpos2, width, w);