aboutsummaryrefslogtreecommitdiffstats
path: root/src/static_nodes.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-05-26 11:49:43 +0200
committerDavid Robillard <d@drobilla.net>2021-03-08 23:23:05 -0500
commitfa593a6c62f47952069dffd644d0e5e777d0b5d1 (patch)
tree323ea08c2dcf7b9b053f51606c713866b048f54c /src/static_nodes.h
parent9cf28251f67e91a97bb75a74ad1ed23bac609b0d (diff)
downloadserd-fa593a6c62f47952069dffd644d0e5e777d0b5d1.tar.gz
serd-fa593a6c62f47952069dffd644d0e5e777d0b5d1.tar.bz2
serd-fa593a6c62f47952069dffd644d0e5e777d0b5d1.zip
Add debug checks for node padding
Diffstat (limited to 'src/static_nodes.h')
-rw-r--r--src/static_nodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static_nodes.h b/src/static_nodes.h
index 1b1fc062..18950444 100644
--- a/src/static_nodes.h
+++ b/src/static_nodes.h
@@ -24,7 +24,7 @@
typedef struct StaticNode {
SerdNode node;
- char buf[sizeof(NS_XSD "base64Binary")];
+ char buf[sizeof(NS_XSD "base64Binary") + sizeof(SerdNode)];
} StaticNode;
#define DEFINE_XSD_NODE(name) \