aboutsummaryrefslogtreecommitdiffstats
path: root/src/validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/validate.c')
-rw-r--r--src/validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/validate.c b/src/validate.c
index 2aaae607..46291b64 100644
--- a/src/validate.c
+++ b/src/validate.c
@@ -791,7 +791,8 @@ static void
init_uris(URIs* uris)
{
#define URI(prefix, suffix) \
- uris->prefix##_##suffix = serd_new_uri(NS_##prefix #suffix)
+ uris->prefix##_##suffix = \
+ serd_new_uri(SERD_STATIC_STRING(NS_##prefix #suffix))
URI(owl, Class);
URI(owl, DatatypeProperty);