diff options
author | David Robillard <d@drobilla.net> | 2012-03-19 17:13:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-19 17:13:21 +0000 |
commit | e9ca7f765b636e3772780f5b32e54ade81e241af (patch) | |
tree | 543dd69635b97d53d79b933167978b7058936c7a /src/sratom/sratom.c | |
parent | b123caf6dd31fe7d9b22b05ad06832d33feab0e5 (diff) | |
download | lilv-e9ca7f765b636e3772780f5b32e54ade81e241af.tar.gz lilv-e9ca7f765b636e3772780f5b32e54ade81e241af.tar.bz2 lilv-e9ca7f765b636e3772780f5b32e54ade81e241af.zip |
Update for latest atom extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4077 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/sratom/sratom.c')
-rw-r--r-- | src/sratom/sratom.c | 4 |
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")) { |