summaryrefslogtreecommitdiff
path: root/ctdb/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/protocol')
-rw-r--r--ctdb/protocol/protocol_types.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/protocol/protocol_types.c b/ctdb/protocol/protocol_types.c
index 8090dbddadf..5fb8f201e5d 100644
--- a/ctdb/protocol/protocol_types.c
+++ b/ctdb/protocol/protocol_types.c
@@ -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++) {