summaryrefslogtreecommitdiff
path: root/src/libstddjb/iobufferu_fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iobufferu_fill.c')
-rw-r--r--src/libstddjb/iobufferu_fill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/iobufferu_fill.c b/src/libstddjb/iobufferu_fill.c
index de1a56c..7867444 100644
--- a/src/libstddjb/iobufferu_fill.c
+++ b/src/libstddjb/iobufferu_fill.c
@@ -3,9 +3,9 @@
#include <skalibs/buffer.h>
#include <skalibs/iobuffer.h>
-int iobufferu_fill (iobufferu *b)
+ssize_t iobufferu_fill (iobufferu *b)
{
- register int r = buffer_fill(&b->b[0]) ;
+ ssize_t r = buffer_fill(&b->b[0]) ;
b->b[1].c.n = b->b[0].c.n ;
return r ;
}