aboutsummaryrefslogtreecommitdiffstats
path: root/src/sratom/sratom.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-19 17:13:21 +0000
committerDavid Robillard <d@drobilla.net>2012-03-19 17:13:21 +0000
commit8c3d43dab383ccf99899ca295e075c064110d7a4 (patch)
tree4033cac5055dff0762a0142d2892da52616e9d38 /src/sratom/sratom.c
parent2bb1e7c375464c8603278923775fbbc3ded9a959 (diff)
downloadjalv-8c3d43dab383ccf99899ca295e075c064110d7a4.tar.gz
jalv-8c3d43dab383ccf99899ca295e075c064110d7a4.tar.bz2
jalv-8c3d43dab383ccf99899ca295e075c064110d7a4.zip
Update for latest atom extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4077 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/sratom/sratom.c')
-rw-r--r--src/sratom/sratom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sratom/sratom.c b/src/sratom/sratom.c
index 7c88db0..9cb547c 100644
--- a/src/sratom/sratom.c
+++ b/src/sratom/sratom.c
@@ -473,9 +473,9 @@ read_node(Sratom* sratom,
if (datatype) {
const char* type_uri = (const char*)sord_node_get_string(datatype);
if (!strcmp(type_uri, (char*)NS_XSD "int")) {
- lv2_atom_forge_int32(forge, strtol(str, &endptr, 10));
+ lv2_atom_forge_int(forge, strtol(str, &endptr, 10));
} else if (!strcmp(type_uri, (char*)NS_XSD "long")) {
- lv2_atom_forge_int64(forge, strtol(str, &endptr, 10));
+ lv2_atom_forge_long(forge, strtol(str, &endptr, 10));
} else if (!strcmp(type_uri, (char*)NS_XSD "float")) {
lv2_atom_forge_float(forge, serd_strtod(str, &endptr));
} else if (!strcmp(type_uri, (char*)NS_XSD "double")) {