summaryrefslogtreecommitdiff
path: root/src/libstddjb/bufalloc_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/bufalloc_flush.c')
-rw-r--r--src/libstddjb/bufalloc_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/bufalloc_flush.c b/src/libstddjb/bufalloc_flush.c
index 49b2eb1..e6ddfc2 100644
--- a/src/libstddjb/bufalloc_flush.c
+++ b/src/libstddjb/bufalloc_flush.c
@@ -3,7 +3,7 @@
#include <skalibs/allreadwrite.h>
#include <skalibs/bufalloc.h>
-int bufalloc_flush (bufalloc_ref ba)
+int bufalloc_flush (bufalloc *ba)
{
ba->p += allreadwrite((iofunc_t_ref)ba->op, ba->fd, ba->x.s + ba->p, ba->x.len - ba->p) ;
bufalloc_clean(ba) ;