summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-10 02:12:24 +0000
committerDavid Robillard <d@drobilla.net>2012-03-10 02:12:24 +0000
commitbdaa153e48ab2bd38a76474acca85ff48463ea33 (patch)
treee710e5adb18648aac9d167742583b1ee65ab3996
parentc522e3be86b77a95719ea0fc38a078ff96f0077e (diff)
downloadlilv-bdaa153e48ab2bd38a76474acca85ff48463ea33.tar.gz
lilv-bdaa153e48ab2bd38a76474acca85ff48463ea33.tar.bz2
lilv-bdaa153e48ab2bd38a76474acca85ff48463ea33.zip
Fix compilation with latest serd.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4038 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--test/lilv_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 804b813..b44fd7c 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -1156,7 +1156,7 @@ int
test_state(void)
{
uint8_t* abs_bundle = (uint8_t*)lilv_path_absolute(LILV_TEST_BUNDLE);
- SerdNode bundle = serd_node_new_file_uri(abs_bundle, 0, 0);
+ SerdNode bundle = serd_node_new_file_uri(abs_bundle, 0, 0, true);
LilvWorld* world = lilv_world_new();
LilvNode* bundle_uri = lilv_new_uri(world, (const char*)bundle.buf);
LilvNode* plugin_uri = lilv_new_uri(world,
@@ -1272,7 +1272,7 @@ test_state(void)
// Load default bundle into world and load state from it
uint8_t* state6_path = (uint8_t*)lilv_path_absolute("state6.lv2/");
- SerdNode state6_uri = serd_node_new_file_uri(state6_path, 0, 0);
+ SerdNode state6_uri = serd_node_new_file_uri(state6_path, 0, 0, true);
LilvNode* test_state_bundle = lilv_new_uri(world, (const char*)state6_uri.buf);
LilvNode* test_state_node = lilv_new_uri(world, state_uri);
lilv_world_load_bundle(world, test_state_bundle);