diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serdi.c b/src/serdi.c index 569b1152..d49ec776 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -171,7 +171,7 @@ main(int argc, char** argv) FILE* out_fd = stdout; SerdEnv* env = serd_env_new(&base_uri_node); - SerdStyle output_style = 0; + int output_style = 0; if (output_syntax == SERD_NTRIPLES) { output_style |= SERD_STYLE_ASCII; } else { @@ -190,7 +190,8 @@ main(int argc, char** argv) } SerdWriter* writer = serd_writer_new( - output_syntax, output_style, env, &base_uri, serd_file_sink, out_fd); + output_syntax, (SerdStyle)output_style, + env, &base_uri, serd_file_sink, out_fd); if (chop_prefix) { serd_writer_chop_blank_prefix(writer, chop_prefix); |