about summary refs log tree commit diff stats
path: root/ignore.c
diff options
context:
space:
mode:
Diffstat (limited to 'ignore.c')
-rw-r--r--ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignore.c b/ignore.c
index b4cef61..d7b6428 100644
--- a/ignore.c
+++ b/ignore.c
@@ -27,7 +27,7 @@ struct ignores *init_ignores(char *path) {
 		while ((r = getline(&line, &llen, ignore)) != -1) {
 			char *l = calloc(sizeof(char *), strlen(line) - 1);
 
-			for (int j = 0, k = 0; j < strlen(line); j++) {
+			for (size_t j = 0, k = 0; j < strlen(line); j++) {
 				char c = line[j];
 
 				if (isspace(c)) {