summaryrefslogtreecommitdiffstats
path: root/input/fakehid.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/fakehid.c')
-rw-r--r--input/fakehid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input/fakehid.c b/input/fakehid.c
index 05bbea1d..900399d2 100644
--- a/input/fakehid.c
+++ b/input/fakehid.c
@@ -147,7 +147,8 @@ static int ps3remote_decode(char *buff, int size, unsigned int *value)
{
static unsigned int lastkey = 0;
static unsigned int lastmask = 0;
- int retval, mask, i;
+ unsigned int i, mask;
+ int retval;
guint8 key;
if (size < 12) {