summaryrefslogtreecommitdiffstats
path: root/tests/sratom_test.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-02 21:48:15 +0000
committerDavid Robillard <d@drobilla.net>2012-03-02 21:48:15 +0000
commit4742300f40eb8831ab36376fa7c18dcbc38b32da (patch)
treea81bbee6784dfc5fe51c0bb0d7cb49034724988c /tests/sratom_test.c
parent5b72f90d29734e772ace6da355e24971bb67b656 (diff)
downloadsratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.tar.gz
sratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.tar.bz2
sratom-4742300f40eb8831ab36376fa7c18dcbc38b32da.zip
Fix atom:Path serialisation.
git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4016 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'tests/sratom_test.c')
-rw-r--r--tests/sratom_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sratom_test.c b/tests/sratom_test.c
index dadcf4d..52fca7c 100644
--- a/tests/sratom_test.c
+++ b/tests/sratom_test.c
@@ -138,7 +138,7 @@ main()
const uint8_t* pstr = (const uint8_t*)"/foo/bar";
const size_t pstr_len = strlen((const char*)pstr);
lv2_atom_forge_property_head(&forge, eg_path, 0);
- lv2_atom_forge_uri(&forge, pstr, pstr_len);
+ lv2_atom_forge_path(&forge, pstr, pstr_len);
// eg_uri = (URI)"a/relative/uri"
const uint8_t* ustr = (const uint8_t*)"a/relative/uri";