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/sord.c | |
parent | c7f822f14aae0367e184c847379496bc28adf63d (diff) | |
download | sord-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.c | 2 |
1 files changed, 1 insertions, 1 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)); |