aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index 2f21858e..3a44a954 100644
--- a/src/node.c
+++ b/src/node.c
@@ -288,7 +288,7 @@ serd_node_copy(const SerdNode* node)
const size_t size = serd_node_total_size(node);
SerdNode* copy = (SerdNode*)serd_calloc_aligned(size + 3, serd_node_align);
- assert((intptr_t)node % serd_node_align == 0);
+ assert((intptr_t)copy % serd_node_align == 0);
memcpy(copy, node, size);
return copy;