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>2020-06-21 18:12:04 +0200
commit1da462d0fceeb18690601398bb224c0f92143341 (patch)
tree5f332e3cf5be8d4402814ccd90e5ff6d5b8b60ec /src/static_nodes.h
parent41bce81262f89a2659d077b0284a8a04f000daef (diff)
downloadserd-1da462d0fceeb18690601398bb224c0f92143341.tar.gz
serd-1da462d0fceeb18690601398bb224c0f92143341.tar.bz2
serd-1da462d0fceeb18690601398bb224c0f92143341.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 62e38c91..430fa58c 100644
--- a/src/static_nodes.h
+++ b/src/static_nodes.h
@@ -22,7 +22,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) \