summaryrefslogtreecommitdiffstats
path: root/compat/hidd.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 /compat/hidd.c
parent1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff)
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'compat/hidd.c')
-rw-r--r--compat/hidd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/hidd.c b/compat/hidd.c
index a6f67410..212c0926 100644
--- a/compat/hidd.c
+++ b/compat/hidd.c
@@ -425,7 +425,7 @@ static void do_show(int ctl)
struct hidp_connlist_req req;
struct hidp_conninfo ci[16];
char addr[18];
- int i;
+ unsigned int i;
req.cnum = 16;
req.ci = ci;
@@ -598,7 +598,7 @@ static void do_kill(int ctl, bdaddr_t *bdaddr, uint32_t flags)
struct hidp_conndel_req req;
struct hidp_connlist_req cl;
struct hidp_conninfo ci[16];
- int i;
+ unsigned int i;
if (!bacmp(bdaddr, BDADDR_ALL)) {
cl.cnum = 16;