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/string_unquote_nodelim.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/libstddjb/string_unquote_nodelim.c') diff --git a/src/libstddjb/string_unquote_nodelim.c b/src/libstddjb/string_unquote_nodelim.c index 1dc90f1..cabe504 100644 --- a/src/libstddjb/string_unquote_nodelim.c +++ b/src/libstddjb/string_unquote_nodelim.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include #include #include -int string_unquote_nodelim (char *d, char const *s, unsigned int len) +ssize_t string_unquote_nodelim (char *d, char const *s, size_t len) { - unsigned int rr, ww ; + size_t rr, ww ; if (!string_unquote_withdelim(d, &ww, s, len, &rr, 0, 0)) return -1 ; - return (int)ww ; + return (ssize_t)ww ; } -- cgit v1.2.3