diff options
author | David Robillard <d@drobilla.net> | 2024-01-09 17:41:39 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-01-09 17:44:01 -0500 |
commit | 40e41b28e69313844492cfd605cdfa93a819cf7d (patch) | |
tree | 32bb5482f8fdc129a995f75d28bbd98214e2ab59 /src | |
parent | c7f822f14aae0367e184c847379496bc28adf63d (diff) | |
download | sord-40e41b28e69313844492cfd605cdfa93a819cf7d.tar.gz sord-40e41b28e69313844492cfd605cdfa93a819cf7d.tar.bz2 sord-40e41b28e69313844492cfd605cdfa93a819cf7d.zip |
Enable clang nullability checks
Diffstat (limited to 'src')
-rw-r--r-- | src/sord.c | 2 | ||||
-rw-r--r-- | src/sord_config.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 <d@drobilla.net> +// Copyright 2021-2024 David Robillard <d@drobilla.net> // 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) |