summaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-14 22:34:35 +0000
committerDavid Robillard <d@drobilla.net>2012-01-14 22:34:35 +0000
commit95f3345fc62ad8e81b18cdbf50929f5801868fac (patch)
treedb57bd04e5f74b5551eefbad0c40b524da5bc8b9 /src/node.c
parent1b9ec3c3973a7df3946c43bb9b404f1e1e770354 (diff)
downloadlilv-95f3345fc62ad8e81b18cdbf50929f5801868fac.tar.gz
lilv-95f3345fc62ad8e81b18cdbf50929f5801868fac.tar.bz2
lilv-95f3345fc62ad8e81b18cdbf50929f5801868fac.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3948 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/node.c b/src/node.c
index 8f73df6..169afa1 100644
--- a/src/node.c
+++ b/src/node.c
@@ -111,7 +111,8 @@ lilv_node_new_from_node(LilvWorld* world, const SordNode* node)
type = LILV_VALUE_FLOAT;
else if (sord_node_equals(datatype_uri, world->uris.xsd_integer))
type = LILV_VALUE_INT;
- else if (sord_node_equals(datatype_uri, world->uris.xsd_base64Binary))
+ else if (sord_node_equals(datatype_uri,
+ world->uris.xsd_base64Binary))
type = LILV_VALUE_BLOB;
else
LILV_ERRORF("Unknown datatype `%s'\n",
@@ -168,7 +169,8 @@ LILV_API
LilvNode*
lilv_new_bool(LilvWorld* world, bool val)
{
- LilvNode* ret = lilv_node_new(world, LILV_VALUE_BOOL, val ? "true" : "false");
+ LilvNode* ret = lilv_node_new(world, LILV_VALUE_BOOL,
+ val ? "true" : "false");
ret->val.bool_val = val;
return ret;
}