summaryrefslogtreecommitdiff
path: root/apps/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/action.c')
-rw-r--r--apps/action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/action.c b/apps/action.c
index c0d6021995..0f332a29f5 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -89,7 +89,7 @@ inline int get_next_context(const struct button_mapping *items, int i)
89 89
90 Timeout can be TIMEOUT_NOBLOCK to return immediatly 90 Timeout can be TIMEOUT_NOBLOCK to return immediatly
91 TIMEOUT_BLOCK to wait for a button press 91 TIMEOUT_BLOCK to wait for a button press
92 Any number >0 to wait that many ticks for a press 92Any number >0 to wait that many ticks for a press
93 93
94 */ 94 */
95int get_action_worker(int context, int timeout, 95int get_action_worker(int context, int timeout,
@@ -161,7 +161,7 @@ int get_action_worker(int context, int timeout,
161 161
162 ret = do_button_check(items,button,last_button,&i); 162 ret = do_button_check(items,button,last_button,&i);
163 163
164 if (context == CONTEXT_STOPSEARCHING) 164 if (context ==(int)CONTEXT_STOPSEARCHING)
165 break; 165 break;
166 166
167 if (ret == ACTION_UNKNOWN ) 167 if (ret == ACTION_UNKNOWN )