summaryrefslogtreecommitdiff
path: root/src/libstddjb/genwrite_put_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/genwrite_put_buffer.c')
-rw-r--r--src/libstddjb/genwrite_put_buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/genwrite_put_buffer.c b/src/libstddjb/genwrite_put_buffer.c
index 1c85725..e5d7843 100644
--- a/src/libstddjb/genwrite_put_buffer.c
+++ b/src/libstddjb/genwrite_put_buffer.c
@@ -1,9 +1,10 @@
/* ISC license. */
+#include <sys/types.h>
#include <skalibs/buffer.h>
#include <skalibs/genwrite.h>
-int genwrite_put_buffer (void *target, char const *s, unsigned int len)
+ssize_t genwrite_put_buffer (void *target, char const *s, size_t len)
{
register buffer *b = target ;
return buffer_put(b, s, len) ;