aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/namespaces.c4
-rw-r--r--src/serdi.c2
-rw-r--r--src/uri.c2
-rw-r--r--src/write.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/namespaces.c b/src/namespaces.c
index a2526a5d..b14d74c5 100644
--- a/src/namespaces.c
+++ b/src/namespaces.c
@@ -95,8 +95,8 @@ SERD_API
bool
serd_namespaces_expand(SerdNamespaces ns,
const SerdString* qname,
- SerdRange* uri_prefix,
- SerdRange* uri_suffix)
+ SerdChunk* uri_prefix,
+ SerdChunk* uri_suffix)
{
const uint8_t* colon = memchr((const char*)qname->buf, ':', qname->n_bytes);
if (!colon) {
diff --git a/src/serdi.c b/src/serdi.c
index 6b4e62b4..548f88e7 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -39,7 +39,7 @@ event_base(void* handle,
return false;
}
- SerdURI base_uri = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},false};
+ SerdURI base_uri = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}};
SerdString* base_uri_str;
if (!uri.scheme.len) {
// URI has no scheme (relative by definition), resolve
diff --git a/src/uri.c b/src/uri.c
index 5f7a405e..a7e7178c 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -93,7 +93,7 @@ SERD_API
bool
serd_uri_parse(const uint8_t* utf8, SerdURI* uri)
{
- static const SerdURI null_uri = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0},false};
+ static const SerdURI null_uri = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}};
*uri = null_uri;
assert(uri->path_base.buf == NULL);
assert(uri->path_base.len == 0);
diff --git a/src/write.c b/src/write.c
index c2b92d78..633655d8 100644
--- a/src/write.c
+++ b/src/write.c
@@ -115,8 +115,8 @@ serd_write_node(FILE* fd,
const SerdString* datatype,
const SerdString* lang)
{
- SerdRange uri_prefix;
- SerdRange uri_suffix;
+ SerdChunk uri_prefix;
+ SerdChunk uri_suffix;
switch (type) {
case BLANK:
fwrite("_:", 1, 2, fd);