summaryrefslogtreecommitdiff
path: root/uisimulator/x11/button-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/button-x11.c')
-rw-r--r--uisimulator/x11/button-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index ba70c8129b..21393215a4 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -187,7 +187,7 @@ static int get_raw_button (void)
187/* 187/*
188 * Timeout after TICKS unless a key is pressed. 188 * Timeout after TICKS unless a key is pressed.
189 */ 189 */
190int button_get_w_tmo(int ticks) 190long button_get_w_tmo(int ticks)
191{ 191{
192 int bits; 192 int bits;
193 int i=0; 193 int i=0;
@@ -210,7 +210,7 @@ int button_get_w_tmo(int ticks)
210 * BUTTON_HELD bit is while the button is being held. 210 * BUTTON_HELD bit is while the button is being held.
211 * BUTTON_REL bit is set when button has been released. 211 * BUTTON_REL bit is set when button has been released.
212 */ 212 */
213int button_get(bool block) 213long button_get(bool block)
214{ 214{
215 int bits; 215 int bits;
216 do { 216 do {