diff options
author | Martin Schwenke <martin@meltin.net> | 2019-06-08 06:38:56 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-07-05 05:03:23 +0000 |
commit | 1e47a1b3f6ab1e2ad9d86dfb28c3e086c99a97e5 (patch) | |
tree | 33fa049888d3aba8147707ad30591ecea5cd8734 /ctdb/include | |
parent | 3ccce53e3e6ebb5f7f628bd1b18b7152f548dd27 (diff) | |
download | samba-1e47a1b3f6ab1e2ad9d86dfb28c3e086c99a97e5.tar.gz |
ctdb-daemon: Fix signed/unsigned comparisons by declaring as unsigned
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index ea00bb12128..9eec244c4f2 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -713,7 +713,7 @@ int ctdb_load_persistent_health(struct ctdb_context *ctdb, int ctdb_update_persistent_health(struct ctdb_context *ctdb, struct ctdb_db_context *ctdb_db, const char *reason,/* NULL means healthy */ - int num_healthy_nodes); + unsigned int num_healthy_nodes); int ctdb_recheck_persistent_health(struct ctdb_context *ctdb); int32_t ctdb_control_db_set_healthy(struct ctdb_context *ctdb, |