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/genwrite_put_bufalloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libstddjb/genwrite_put_bufalloc.c') diff --git a/src/libstddjb/genwrite_put_bufalloc.c b/src/libstddjb/genwrite_put_bufalloc.c index 4b5830d..98a5919 100644 --- a/src/libstddjb/genwrite_put_bufalloc.c +++ b/src/libstddjb/genwrite_put_bufalloc.c @@ -6,6 +6,5 @@ ssize_t genwrite_put_bufalloc (void *target, char const *s, size_t len) { - register bufalloc *ba = target ; - return bufalloc_put(ba, s, len) ? (ssize_t)len : -1 ; + return bufalloc_put((bufalloc *)target, s, len) ? (ssize_t)len : -1 ; } -- cgit v1.2.3