diff options
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; } |