aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-13 18:47:36 +0100
committerDavid Robillard <d@drobilla.net>2019-04-13 19:48:23 +0200
commit72b0caa0ca029b83a5a1ad87d9035faea7897c72 (patch)
treeaa2baae1a97e49db76328b45d855bf1ab58ee814 /src/node.c
parent00eec656ceb6d2ce7807d8da57fcad41367fa490 (diff)
downloadserd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.tar.gz
serd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.tar.bz2
serd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.zip
Fix node alignment on 32-bit ARM
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;