diff options
author | David Robillard <d@drobilla.net> | 2019-04-13 18:47:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-13 19:48:23 +0200 |
commit | 72b0caa0ca029b83a5a1ad87d9035faea7897c72 (patch) | |
tree | aa2baae1a97e49db76328b45d855bf1ab58ee814 /src/reader.c | |
parent | 00eec656ceb6d2ce7807d8da57fcad41367fa490 (diff) | |
download | serd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.tar.gz serd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.tar.bz2 serd-72b0caa0ca029b83a5a1ad87d9035faea7897c72.zip |
Fix node alignment on 32-bit ARM
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c index 95508849..50784ffc 100644 --- a/src/reader.c +++ b/src/reader.c @@ -87,6 +87,7 @@ push_node_padded(SerdReader* reader, size_t maxlen, void* mem = serd_stack_push_aligned( &reader->stack, sizeof(SerdNode) + maxlen + 1, sizeof(SerdNode)); + assert((intptr_t)mem % sizeof(SerdNode) == 0); if (!mem) { return NULL; } |