From 49d8fa1058aaf23c29e074b2314492ae40d2f557 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 21 Feb 2017 12:05:07 +0000 Subject: Types change: big pass on libstddjb and libunixonacid libdatastruct still missing, library still not functional --- src/libstddjb/iobuffer_fill.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/libstddjb/iobuffer_fill.c') diff --git a/src/libstddjb/iobuffer_fill.c b/src/libstddjb/iobuffer_fill.c index 991dffc..a122090 100644 --- a/src/libstddjb/iobuffer_fill.c +++ b/src/libstddjb/iobuffer_fill.c @@ -1,13 +1,14 @@ /* ISC license. */ +#include #include #include -int iobuffer_fill (iobuffer_ref b) +ssize_t iobuffer_fill (iobuffer_ref b) { if (b->isk) { - register int r = iobufferk_fill(&b->x.k) ; + ssize_t r = iobufferk_fill(&b->x.k) ; if (r >= 0 || errno != ENOSYS || !iobuffer_salvage(b)) return r ; } return iobufferu_fill(&b->x.u) ; -- cgit v1.2.3