aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_reader_writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_reader_writer.c')
-rw-r--r--test/test_reader_writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index 1bad22cd..b8afd649 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -121,7 +121,7 @@ test_writer(const char* const path)
serd_writer_free(writer);
serd_byte_sink_free(byte_sink);
- char* out = serd_buffer_sink_finish(&buffer);
+ char* out = (char*)buffer.buf;
assert(!strcmp(out, "@base <http://example.org/base> .\n"));
serd_free(out);