diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-09-03 17:15:29 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-09-03 17:15:29 -0400 |
commit | 1563c3113710463d07f52d6f042a01c56a9ea795 (patch) | |
tree | 30c617bc26675f2413d4789eadd546121674129c /color.c | |
parent | e2f526768e1d91893dc2772962be8155205b9c50 (diff) | |
download | bfs-1563c3113710463d07f52d6f042a01c56a9ea795.tar.xz |
color: Fix unsigned < 0 comparison
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |