ctdb-daemon: Fix signed/unsigned comparison
authorMartin Schwenke <martin@meltin.net>
Mon, 10 Feb 2020 06:50:30 +0000 (17:50 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 18 Feb 2020 02:56:38 +0000 (02:56 +0000)
commita20403adf871d2c1a646be0737935f85b55f8779
tree182f76d547fe120d6a19f79585d50fcd44c2a6fb
parentc9405aec703a9bb90236ddcb860301339a59fee6
ctdb-daemon: Fix signed/unsigned comparison

csbuild says:

  ctdb/server/ctdb_lock.c: scope_hint: In function ‘ctdb_find_lock_context’
  ctdb/server/ctdb_lock.c:671:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]

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