ctdb-tools: Fix signed/unsigned comparisons by declaring as unsigned
authorMartin Schwenke <martin@meltin.net>
Wed, 22 May 2019 11:52:17 +0000 (21:52 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 5 Jun 2019 10:25:49 +0000 (10:25 +0000)
commit2558f96da1f9be8034f26736c8050bb38a1f82a8
tree5040ab44449e0febbdfe3cfc2892300a31dcf100
parent843fbb1207ee7ac84f3282974b66b9290d8da0ac
ctdb-tools: Fix signed/unsigned comparisons by declaring as unsigned

These are the simple cases where a variable (usually a loop variable)
needs to be declared as an unsigned type (usually unsigned int or
size_t) instead of an int.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c