summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-01-09 17:41:39 -0500
committerDavid Robillard <d@drobilla.net>2024-01-09 17:44:01 -0500
commit40e41b28e69313844492cfd605cdfa93a819cf7d (patch)
tree32bb5482f8fdc129a995f75d28bbd98214e2ab59 /src/sord.c
parentc7f822f14aae0367e184c847379496bc28adf63d (diff)
downloadsord-40e41b28e69313844492cfd605cdfa93a819cf7d.tar.gz
sord-40e41b28e69313844492cfd605cdfa93a819cf7d.tar.bz2
sord-40e41b28e69313844492cfd605cdfa93a819cf7d.zip
Enable clang nullability checks
Diffstat (limited to 'src/sord.c')
-rw-r--r--src/sord.c2
1 files changed, 1 insertions, 1 deletions
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));