summaryrefslogtreecommitdiffstats
path: root/src/sord.c
diff options
context:
space:
mode:
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));