From fdffefb8032922ce7ffe4c00816072a8ff2148fc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Feb 2017 22:30:53 +0000 Subject: More types changes New disize Add size_t to the autotypes list Delete redundant and replace-libc files dev_t/ino_t pass Big size_t pass More things missing, still not operational yet --- src/libunixonacid/mkdir_unique.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libunixonacid/mkdir_unique.c') diff --git a/src/libunixonacid/mkdir_unique.c b/src/libunixonacid/mkdir_unique.c index 1eee4c6..83e240e 100644 --- a/src/libunixonacid/mkdir_unique.c +++ b/src/libunixonacid/mkdir_unique.c @@ -1,5 +1,6 @@ /* ISC license. */ +#include #include #include #include @@ -7,7 +8,7 @@ int mkdir_unique (stralloc *sa, char const *fn, unsigned int mode) { - unsigned int base = sa->len ; + size_t base = sa->len ; int wasnull = !sa->s ; if (!stralloc_cats(sa, fn)) return 0 ; if (!stralloc_cats(sa, "/mkdir_unique:")) goto fail ; -- cgit v1.2.3