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

@@ -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);