From fa593a6c62f47952069dffd644d0e5e777d0b5d1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 May 2018 11:49:43 +0200 Subject: Add debug checks for node padding --- src/static_nodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/static_nodes.h') 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) \ -- cgit v1.2.1