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, 1 insertions, 2 deletions
diff --git a/src/libstddjb/genwrite_put_buffer.c b/src/libstddjb/genwrite_put_buffer.c
index e5d7843..8a710b9 100644
--- a/src/libstddjb/genwrite_put_buffer.c
+++ b/src/libstddjb/genwrite_put_buffer.c
@@ -6,6 +6,5 @@
ssize_t genwrite_put_buffer (void *target, char const *s, size_t len)
{
- register buffer *b = target ;
- return buffer_put(b, s, len) ;
+ return buffer_put((buffer *)target, s, len) ;
}