summaryrefslogtreecommitdiff
path: root/src/libstddjb/bufalloc_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/bufalloc_init.c')
-rw-r--r--src/libstddjb/bufalloc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/bufalloc_init.c b/src/libstddjb/bufalloc_init.c
index d6a89da..c538bc1 100644
--- a/src/libstddjb/bufalloc_init.c
+++ b/src/libstddjb/bufalloc_init.c
@@ -4,7 +4,7 @@
#include <skalibs/stralloc.h>
#include <skalibs/bufalloc.h>
-void bufalloc_init (bufalloc *ba, int (*op)(int, char const *, size_t), int fd)
+void bufalloc_init (bufalloc *ba, ssize_t (*op)(int, char const *, size_t), int fd)
{
ba->x = stralloc_zero ;
ba->op = op ;