From bf6d072124a960d3b84ae39cd15c5aeca2e41c88 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 12 Jan 2017 23:16:36 +0000 Subject: Types fix, first pass --- src/libs6/ftrigw_clean.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libs6/ftrigw_clean.c') diff --git a/src/libs6/ftrigw_clean.c b/src/libs6/ftrigw_clean.c index 1198828..5e344eb 100644 --- a/src/libs6/ftrigw_clean.c +++ b/src/libs6/ftrigw_clean.c @@ -1,5 +1,6 @@ /* ISC license. */ +#include #include #include #include @@ -10,7 +11,7 @@ int ftrigw_clean (char const *path) { - unsigned int pathlen = str_len(path) ; + size_t pathlen = str_len(path) ; int e = 0 ; DIR *dir = opendir(path) ; if (!dir) return 0 ; -- cgit v1.2.3