summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-07 23:11:20 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-07 23:11:20 +0000
commit5804664fe709b6ec67e1350b765379d94b87e902 (patch)
treed2d3a0e34c6e8c308f78f7ab1534282abf683669 /uisimulator/x11
parentf997199ff8216a323ac3ca6ccaa180b65e1f86ed (diff)
downloadrockbox-5804664fe709b6ec67e1350b765379d94b87e902.tar.gz
rockbox-5804664fe709b6ec67e1350b765379d94b87e902.tar.bz2
rockbox-5804664fe709b6ec67e1350b765379d94b87e902.zip
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11')
-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)
/*
* Timeout after TICKS unless a key is pressed.
*/
-int button_get_w_tmo(int ticks)
+long button_get_w_tmo(int ticks)
{
int bits;
int i=0;
@@ -210,7 +210,7 @@ int button_get_w_tmo(int ticks)
* BUTTON_HELD bit is while the button is being held.
* BUTTON_REL bit is set when button has been released.
*/
-int button_get(bool block)
+long button_get(bool block)
{
int bits;
do {