aboutsummaryrefslogtreecommitdiffstats
path: root/serd/serd.h
diff options
context:
space:
mode:
Diffstat (limited to 'serd/serd.h')
-rw-r--r--serd/serd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 00cc6600..c34eed01 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -317,7 +317,9 @@ serd_base64_decode(const uint8_t* str, size_t len, size_t* size);
@{
*/
-static const SerdURI SERD_URI_NULL = {{0,0},{0,0},{0,0},{0,0},{0,0},{0,0}};
+static const SerdURI SERD_URI_NULL = {
+ {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}, {NULL, 0}
+};
/**
Return the local path for `uri`, or NULL if `uri` is not a file URI.
@@ -396,7 +398,7 @@ serd_uri_serialise_relative(const SerdURI* uri,
@{
*/
-static const SerdNode SERD_NODE_NULL = { 0, 0, 0, 0, SERD_NOTHING };
+static const SerdNode SERD_NODE_NULL = { NULL, 0, 0, 0, SERD_NOTHING };
/**
Make a (shallow) node from `str`.