aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.c b/src/reader.c
index 6d9cc599..d6c97eec 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -1493,12 +1493,12 @@ serd_read_state_expand(SerdReadState* state,
}
SERD_API
-SerdNode
+const SerdNode*
serd_read_state_get_base_uri(SerdReadState* state,
SerdURI* out)
{
*out = state->base_uri;
- return state->base_uri_node;
+ return &state->base_uri_node;
}
SERD_API