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/atomic_rm_rf_tmp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libunixonacid/atomic_rm_rf_tmp.c') diff --git a/src/libunixonacid/atomic_rm_rf_tmp.c b/src/libunixonacid/atomic_rm_rf_tmp.c index 5bba785..b6a8422 100644 --- a/src/libunixonacid/atomic_rm_rf_tmp.c +++ b/src/libunixonacid/atomic_rm_rf_tmp.c @@ -1,5 +1,6 @@ /* ISC license. */ +#include #include #include #include @@ -9,8 +10,8 @@ int atomic_rm_rf_tmp (char const *filename, stralloc *tmp) { - unsigned int tmpbase = tmp->len ; - unsigned int start ; + size_t tmpbase = tmp->len ; + size_t start ; if (!stralloc_cats(tmp, ".skalibs-rmrf-") || !stralloc_cats(tmp, filename)) return -1 ; start = tmp->len ; -- cgit v1.3.1