From: Volker Lendecke Date: Fri, 8 Apr 2016 13:59:08 +0000 (+0200) Subject: ctdbd_conn: Adapt loop counter's type to the loop limit X-Git-Tag: talloc-2.1.7~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d59ae31cca4d889784ffe06b633e239b60fc0229;p=thirdparty%2Fsamba.git ctdbd_conn: Adapt loop counter's type to the loop limit Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- 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,