aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-15 09:26:17 -0400
committerDavid Robillard <d@drobilla.net>2018-12-30 17:58:17 -0500
commitacc79c53e8c8c1ca8327c5a438cc46425ab8c8a2 (patch)
treed38139657e241d93ea291465895c9e88287df315 /tests
parent9b5c844feb67045a98fc238fef801ef8732d29a5 (diff)
downloadserd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.tar.gz
serd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.tar.bz2
serd-acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2.zip
Bring read/write interface closer to C standard
Diffstat (limited to 'tests')
-rw-r--r--tests/serd_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 917d6ab4..8426b5df 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -418,7 +418,7 @@ main(void)
assert(fd);
SerdWriter* writer = serd_writer_new(
- SERD_TURTLE, (SerdStyle)0, env, NULL, serd_file_sink, fd);
+ SERD_TURTLE, (SerdStyle)0, env, NULL, (SerdWriteFunc)fwrite, fd);
assert(writer);
serd_writer_chop_blank_prefix(writer, "tmp");