From d59ae31cca4d889784ffe06b633e239b60fc0229 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 8 Apr 2016 15:59:08 +0200 Subject: [PATCH] ctdbd_conn: Adapt loop counter's type to the loop limit Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/lib/ctdbd_conn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index 04f6f2f0aac..127c3adda05 100644 --- a/source3/lib/ctdbd_conn.c +++ b/source3/lib/ctdbd_conn.c @@ -201,7 +201,8 @@ static bool ctdbd_working(struct ctdbd_connection *conn, uint32_t vnn) struct ctdb_node_map_old *m; uint32_t failure_flags; bool ok = false; - int i, ret; + uint32_t i; + int ret; ret = ctdbd_control(conn, CTDB_CURRENT_NODE, CTDB_CONTROL_GET_NODEMAP, 0, 0, -- 2.11.4.GIT