aboutsummaryrefslogtreecommitdiffstats
path: root/tests/serd_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-19 09:39:48 -0400
committerDavid Robillard <d@drobilla.net>2018-12-31 11:37:48 -0500
commitd6936bcc76d8a4459fbdc7b2b2e1fba252759587 (patch)
tree0f4b4bb314875fa248a3e1ef45593d83f16ea0cf /tests/serd_test.c
parent901626455b80f63b6e0dc4ca45ac0a0319364c77 (diff)
downloadserd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.tar.gz
serd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.tar.bz2
serd-d6936bcc76d8a4459fbdc7b2b2e1fba252759587.zip
Separate style enum from style flags types
Diffstat (limited to 'tests/serd_test.c')
-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 efc59aef..1ddb2dd8 100644
--- a/tests/serd_test.c
+++ b/tests/serd_test.c
@@ -472,7 +472,7 @@ main(void)
SerdWriter* writer = serd_writer_new(world,
SERD_TURTLE,
- (SerdStyle)0,
+ 0,
env,
(SerdWriteFunc)fwrite,
fd);
@@ -553,7 +553,7 @@ main(void)
// Test buffer sink
SerdBuffer buffer = { NULL, 0 };
writer = serd_writer_new(
- world, SERD_TURTLE, (SerdStyle)0, env, serd_buffer_sink, &buffer);
+ world, SERD_TURTLE, 0, env, serd_buffer_sink, &buffer);
o = serd_new_uri("http://example.org/base");
assert(!serd_writer_set_base_uri(writer, o));