From 9c0b5859e6cc4b7a0e925fde8665990281b265d3 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 29 Jan 2009 17:58:28 +0100 Subject: Fix mostly every warning caused by -Wsign-compare --- compat/hidd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat/hidd.c') 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; -- cgit