From acc79c53e8c8c1ca8327c5a438cc46425ab8c8a2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Jun 2018 09:26:17 -0400 Subject: Bring read/write interface closer to C standard --- tests/serd_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/serd_test.c') 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"); -- cgit v1.2.1