git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10672 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2006-08-21 11:41:48 +00:00
parent 56a16d7b23
commit 9f25623362

View file

@ -89,7 +89,7 @@ inline int get_next_context(const struct button_mapping *items, int i)
Timeout can be TIMEOUT_NOBLOCK to return immediatly
TIMEOUT_BLOCK to wait for a button press
Any number >0 to wait that many ticks for a press
Any number >0 to wait that many ticks for a press
*/
int get_action_worker(int context, int timeout,
@ -161,7 +161,7 @@ int get_action_worker(int context, int timeout,
ret = do_button_check(items,button,last_button,&i);
if (context == CONTEXT_STOPSEARCHING)
if (context ==(int)CONTEXT_STOPSEARCHING)
break;
if (ret == ACTION_UNKNOWN )