commit 977933d69c2258e703962feca52b37e1b872d762
parent e055b8b29f442598106e75822b5ee16d36364c10
Author: sin <sin@2f30.org>
Date: Sun, 8 Mar 2015 12:35:28 +0000
Use proper type for iterator
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/req.c b/req.c
@@ -103,8 +103,9 @@ replygr(int clifd, struct group *gr)
struct nscdgrp header;
char *buf;
uint32_t *grlens;
- size_t memsize = 0, i, len, offset;
+ size_t memsize = 0, len, offset;
ssize_t n;
+ int32_t i;
header.version = NSCDVERSION;
header.found = gr ? 1 : 0;