summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-29 14:37:57 -0500
committerDavid Robillard <d@drobilla.net>2017-12-29 14:38:40 -0500
commit38f072895d751ffb03bf8401b24e6df8d8df154f (patch)
tree2b969909041d3f84ae6cb26c0c122d25a03ed5fa /src
parenta1c8e16e166e609c1e9e9f07154eaca4617bfccf (diff)
downloadsratom-38f072895d751ffb03bf8401b24e6df8d8df154f.tar.gz
sratom-38f072895d751ffb03bf8401b24e6df8d8df154f.tar.bz2
sratom-38f072895d751ffb03bf8401b24e6df8d8df154f.zip
Remove redundant cast
Diffstat (limited to 'src')
-rw-r--r--src/sratom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sratom.c b/src/sratom.c
index 1d35df2..c67fabe 100644
--- a/src/sratom.c
+++ b/src/sratom.c
@@ -236,7 +236,7 @@ number_type(const Sratom* sratom, const uint8_t* type)
!strcmp((const char*)type, (const char*)NS_XSD "double"))) {
return serd_node_from_string(SERD_URI, NS_XSD "decimal");
} else {
- return serd_node_from_string(SERD_URI, (const uint8_t*)type);
+ return serd_node_from_string(SERD_URI, type);
}
}