summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);
}
}