aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node.c b/src/node.c
index 5e5b3852..803f2c9b 100644
--- a/src/node.c
+++ b/src/node.c
@@ -31,11 +31,11 @@
static size_t
serd_uri_string_length(const SerdURIView* const uri)
{
- size_t len = uri->path_base.len;
+ size_t len = uri->path_base.length;
-#define ADD_LEN(field, n_delims) \
- if ((field).len) { \
- len += (field).len + (n_delims); \
+#define ADD_LEN(field, n_delims) \
+ if ((field).length) { \
+ len += (field).length + (n_delims); \
}
ADD_LEN(uri->path, 1) // + possible leading '/'