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:
parent
4f84aafa61
commit
248d585ab4
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user