1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

ctdb-protocol: Fix signed/unsigned comparison by declaring as unsigned

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2019-06-26 16:14:28 +10:00 committed by Amitay Isaacs
parent 4f84aafa61
commit 248d585ab4

View File

@ -1640,7 +1640,8 @@ int ctdb_rec_buffer_traverse(struct ctdb_rec_buffer *recbuf,
TDB_DATA key, data;
uint32_t reqid;
size_t offset, reclen;
int ret = 0, i;
unsigned int i;
int ret = 0;
offset = 0;
for (i=0; i<recbuf->count; i++) {