ctdb-tests: Fix signed/unsigned comparisons by casting
commit5d8531b05c4112cd5d4f7d192d591fdb102241d6
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Jun 2019 04:39:20 +0000 (21 14:39 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Jul 2019 05:03:23 +0000 (5 05:03 +0000)
tree1b76fb5179bce4ecbd17b712ac4aa5210a3e072e
parent68a4588a6fb4c77c6dd34f5d98643525e169c32c
ctdb-tests: Fix signed/unsigned comparisons by casting

These are all cases comparing a number of bytes written (int or
ssize_t) with a size_t, so casting to size_t is appropriate.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/src/conf_test.c
ctdb/tests/src/line_test.c
ctdb/tests/src/pkt_write_test.c
ctdb/tests/src/sock_io_test.c
ctdb/tests/src/system_socket_test.c