From 4cfc92763aea3007f802647370de61da7f5038a2 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 26 Feb 2016 13:19:30 +0100 Subject: use ino_t for file counts --- lr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lr.c b/lr.c index 3fd66a7..f5e2e32 100644 --- a/lr.c +++ b/lr.c @@ -122,7 +122,7 @@ struct fileinfo { char *fpath; size_t prefixl; int depth; - nlink_t entries; + ino_t entries; struct stat sb; off_t total; char xattr[4]; @@ -1009,10 +1009,10 @@ xattr_string(const char *f) #endif } -static nlink_t +static ino_t count_entries(struct fileinfo *fi) { - nlink_t c = 0; + ino_t c = 0; struct dirent *de; DIR *d; -- cgit 1.4.1