aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/serd_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/serd_test.c b/tests/serd_test.c
index 1bbb8f90..103936f1 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -119,7 +119,7 @@ test_read_chunks(void)
assert(f);
SerdStatus st = serd_reader_start_stream(reader,
- (SerdSource)fread,
+ (SerdReadFunc)fread,
(SerdStreamErrorFunc)ferror,
f,
NULL,
@@ -531,7 +531,7 @@ test_writer(const char* const path)
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");