From 73569fb1773d760093992db018e2588d9c2699a9 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 11 Jan 2016 20:44:23 +0000 Subject: [PATCH] Avoid zero-as-null warning on serd --- source/modules/lilv/serd-0.22.0/serd/serd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/modules/lilv/serd-0.22.0/serd/serd.h b/source/modules/lilv/serd-0.22.0/serd/serd.h index 00cc66006..35eaca68b 100644 --- a/source/modules/lilv/serd-0.22.0/serd/serd.h +++ b/source/modules/lilv/serd-0.22.0/serd/serd.h @@ -317,7 +317,7 @@ 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 +396,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`.