diff options
Diffstat (limited to 'src/libstddjb/genwrite_put_stralloc.c')
-rw-r--r-- | src/libstddjb/genwrite_put_stralloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstddjb/genwrite_put_stralloc.c b/src/libstddjb/genwrite_put_stralloc.c index 6f1e2b7..14583fb 100644 --- a/src/libstddjb/genwrite_put_stralloc.c +++ b/src/libstddjb/genwrite_put_stralloc.c @@ -6,6 +6,5 @@ ssize_t genwrite_put_stralloc (void *target, char const *s, size_t len) { - register stralloc *sa = target ; - return stralloc_catb(sa, s, len) ? (ssize_t)len : -1 ; + return stralloc_catb((stralloc *)target, s, len) ? (ssize_t)len : -1 ; } |