diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/device.c | 2 | ||||
-rw-r--r-- | input/fakehid.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/input/device.c b/input/device.c index 3f9e0691..a2a3c38d 100644 --- a/input/device.c +++ b/input/device.c @@ -472,7 +472,7 @@ static void epox_endian_quirk(unsigned char *data, int size) */ unsigned char pattern[] = { 0x05, 0x07, 0x19, 0x00, 0x2a, 0x00, 0xff, 0x15, 0x00, 0x26, 0x00, 0xff }; - int i; + unsigned int i; if (!data) return; 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) { |