summaryrefslogtreecommitdiffstats
path: root/network
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 /network
parent1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff)
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'network')
-rw-r--r--network/common.c5
1 files changed, 3 insertions, 2 deletions
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));