about summary refs log tree commit diff
path: root/lr.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-26 13:19:30 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-26 13:19:30 +0100
commit4cfc92763aea3007f802647370de61da7f5038a2 (patch)
treef21be40ecb2a5675219362c720e27ed4b8db7da4 /lr.c
parent8b228c157f48718d7dbab8828145609e879d126a (diff)
downloadlr-4cfc92763aea3007f802647370de61da7f5038a2.tar.gz
lr-4cfc92763aea3007f802647370de61da7f5038a2.tar.xz
lr-4cfc92763aea3007f802647370de61da7f5038a2.zip
use ino_t for file counts
Diffstat (limited to 'lr.c')
-rw-r--r--lr.c6
1 files 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;