summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.c b/color.c
index dde989d..aecee74 100644
--- a/color.c
+++ b/color.c
@@ -778,7 +778,7 @@ static int print_dirs_colored(CFILE *cfile, const char *path, const struct BFTW
const struct colors *colors = cfile->colors;
FILE *file = cfile->file;
- size_t broken = first_broken_offset(path, ftwbuf, flags, nameoff);
+ ssize_t broken = first_broken_offset(path, ftwbuf, flags, nameoff);
if (broken < 0) {
return -1;
}