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 --- network/common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'network') diff --git a/network/common.c b/network/common.c index 2f690b75..c92baf0c 100644 --- a/network/common.c +++ b/network/common.c @@ -175,7 +175,8 @@ int bnep_kill_all_connections(void) { struct bnep_connlist_req req; struct bnep_conninfo ci[7]; - int i, err; + unsigned int i; + int err; memset(&req, 0, sizeof(req)); req.cnum = 7; @@ -187,7 +188,7 @@ int bnep_kill_all_connections(void) return -err; } - for (i=0; i < req.cnum; i++) { + for (i = 0; i < req.cnum; i++) { struct bnep_conndel_req del; memset(&del, 0, sizeof(del)); -- cgit