diff options
-rw-r--r-- | src/directory.h | 2 | ||||
-rw-r--r-- | src/update_walk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/directory.h b/src/directory.h index 151cf5423..5c36291eb 100644 --- a/src/directory.h +++ b/src/directory.h @@ -43,7 +43,7 @@ struct directory { time_t mtime; ino_t inode; dev_t device; - unsigned stat; /* not needed if ino_t == dev_t == 0 is impossible */ + bool stat; /* not needed if ino_t == dev_t == 0 is impossible */ char path[sizeof(long)]; }; diff --git a/src/update_walk.c b/src/update_walk.c index bf3c8f54b..76c07773b 100644 --- a/src/update_walk.c +++ b/src/update_walk.c @@ -86,7 +86,7 @@ directory_set_stat(struct directory *dir, const struct stat *st) { dir->inode = st->st_ino; dir->device = st->st_dev; - dir->stat = 1; + dir->stat = true; } static void |