ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned
authorMartin Schwenke <martin@meltin.net>
Wed, 22 May 2019 11:55:18 +0000 (21:55 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 5 Jun 2019 10:25:49 +0000 (10:25 +0000)
commit5b9456b70b611e5f520bb90b9e807f6ddfb64c98
tree2787477ac170b36c8d585243f251d68c81d4c50c
parent938df1dbc81bdba8d919e6a1410376ed836eb663
ctdb-common: Fix signed/unsigned comparisons by declaring as unsigned

Simple cases where a variable (usually a loop variable) needs to be
declared as an unsigned type (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/common/cmdline.c
ctdb/common/logging.c
ctdb/common/run_event.c