summaryrefslogtreecommitdiffstats
path: root/input/fakehid.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:58:28 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:58:28 +0100
commit9c0b5859e6cc4b7a0e925fde8665990281b265d3 (patch)
tree8994dbe0942d56c9a7cf470fc3b2316d1f91e0a3 /input/fakehid.c
parent1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff)
Fix mostly every warning caused by -Wsign-compare
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) {