about summary refs log tree commit diff stats
path: root/ignore.c
diff options
context:
space:
mode:
authorRory Bradford <roryrjb@gmail.com>2020-08-02 12:32:14 +0100
committerRory Bradford <roryrjb@gmail.com>2020-08-02 12:32:14 +0100
commit69631ff66e5afa6993037b60e2db4348a2f7b718 (patch)
treecdf124689685d9eebf96bc73d7ad1156d82fb0be /ignore.c
parent4120bca8530b87747b44efec0552b946b60d657e (diff)
downloadrf-69631ff66e5afa6993037b60e2db4348a2f7b718.tar.gz
Various minor improvements
Signed-off-by: Rory Bradford <roryrjb@gmail.com>
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)) {