aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 789284c2..0b33ae77 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -193,14 +193,14 @@ main(int argc, char** argv)
SerdWorld* world = serd_world_new();
SerdEnv* env = serd_env_new(base);
- const SerdStyleFlags output_style = (ascii ? SERD_STYLE_ASCII : 0);
+ const SerdWriterFlags writer_flags = (ascii ? SERD_STYLE_ASCII : 0);
SerdByteSink* byte_sink = serd_byte_sink_new(
(SerdWriteFunc)fwrite, out_fd, bulk_write ? 4096 : 1);
SerdWriter* writer = serd_writer_new(world,
output_syntax,
- output_style,
+ writer_flags,
env,
(SerdWriteFunc)serd_byte_sink_write,
byte_sink);