summaryrefslogtreecommitdiff
path: root/src/libstddjb/genwrite_flush_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/genwrite_flush_buffer.c')
-rw-r--r--src/libstddjb/genwrite_flush_buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/genwrite_flush_buffer.c b/src/libstddjb/genwrite_flush_buffer.c
index d30f3e6..092ffb4 100644
--- a/src/libstddjb/genwrite_flush_buffer.c
+++ b/src/libstddjb/genwrite_flush_buffer.c
@@ -5,6 +5,5 @@
int genwrite_flush_buffer (void *target)
{
- register buffer *b = target ;
- return buffer_flush(b) ;
+ return buffer_flush((buffer *)target) ;
}