about summary refs log tree commit diff
path: root/seq.c
diff options
context:
space:
mode:
Diffstat (limited to 'seq.c')
-rw-r--r--seq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/seq.c b/seq.c
index 8a8203a..b8186af 100644
--- a/seq.c
+++ b/seq.c
@@ -509,13 +509,13 @@ iterdir(char *dir, void (*cb)(char *))
 	return i;
 }
 
-int
+long
 blaze822_loop(int argc, char *argv[], void (*cb)(char *))
 {
 	char *line = 0;
 	size_t linelen = 0;
 	ssize_t rd;
-	int i = 0;
+	long i = 0;
 
 	if (argc == 0) {
 		while ((rd = getdelim(&line, &linelen, '\n', stdin)) != -1) {
@@ -545,7 +545,7 @@ blaze822_loop(int argc, char *argv[], void (*cb)(char *))
 	return j;
 }
 
-int
+long
 blaze822_loop1(char *arg, void (*cb)(char *))
 {
 	char *args[] = { arg };