From 40e41b28e69313844492cfd605cdfa93a819cf7d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 9 Jan 2024 17:41:39 -0500 Subject: Enable clang nullability checks --- src/sord.c | 2 +- src/sord_config.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/sord.c b/src/sord.c index 1189c5b..d605826 100644 --- a/src/sord.c +++ b/src/sord.c @@ -172,7 +172,7 @@ sord_node_hash(const SordNode* const node) { size_t hash = 0U; - hash = zix_digest(hash, node->node.buf, node->node.n_bytes); + hash = zix_digest(hash, (const uint8_t*)node->node.buf, node->node.n_bytes); hash = zix_digest(hash, &node->node.type, sizeof(node->node.type)); if (node->node.type == SERD_LITERAL) { hash = zix_digest(hash, &node->meta.lit, sizeof(node->meta.lit)); diff --git a/src/sord_config.h b/src/sord_config.h index ff639b0..6df5b85 100644 --- a/src/sord_config.h +++ b/src/sord_config.h @@ -1,4 +1,4 @@ -// Copyright 2021 David Robillard +// Copyright 2021-2024 David Robillard // SPDX-License-Identifier: ISC /* @@ -16,7 +16,7 @@ #define SORD_CONFIG_H // Define version unconditionally so a warning will catch a mismatch -#define SORD_VERSION "0.16.16" +#define SORD_VERSION "0.16.17" #if !defined(SORD_NO_DEFAULT_CONFIG) -- cgit v1.2.1