From 1ddf95240c77ae0786dd29e14acdf3549be9094c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 7 Jan 2017 21:43:42 +0000 Subject: Types fix: first pass Preparation for the skalibs size_t API change. --- src/skaembutils/s6-mkdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/skaembutils/s6-mkdir.c') diff --git a/src/skaembutils/s6-mkdir.c b/src/skaembutils/s6-mkdir.c index 92bae67..baec9a0 100644 --- a/src/skaembutils/s6-mkdir.c +++ b/src/skaembutils/s6-mkdir.c @@ -34,7 +34,7 @@ static int doit (char const *s, unsigned int mode, int verbose, int ee) static int doparents (char const *s, unsigned int mode, int verbose) { - unsigned int n = str_len(s), i = 0 ; + size_t n = str_len(s), i = 0 ; char tmp[n+1] ; for (; i < n ; i++) { -- cgit v1.2.3