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/libstddjb/rm_rf_tmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstddjb/rm_rf_tmp.c') diff --git a/src/libstddjb/rm_rf_tmp.c b/src/libstddjb/rm_rf_tmp.c index 6e434d7..d1a8b1a 100644 --- a/src/libstddjb/rm_rf_tmp.c +++ b/src/libstddjb/rm_rf_tmp.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include #include #include int rm_rf_tmp (char const *filename, stralloc *tmp) { - unsigned int tmpbase = tmp->len ; + size_t tmpbase = tmp->len ; if (!stralloc_cats(tmp, filename)) return -1 ; if (!stralloc_0(tmp)) goto err ; if (rm_rf_in_tmp(tmp, tmpbase) == -1) goto err ; -- cgit v1.3.1