diff --git a/HTMLparser.c b/HTMLparser.c
index 3198afa2..367e304e 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4448,7 +4448,7 @@ static void
htmlParseElementInternal(htmlParserCtxtPtr ctxt) {
const xmlChar *name;
const htmlElemDesc * info;
- htmlParserNodeInfo node_info = { 0, };
+ htmlParserNodeInfo node_info = { NULL, 0, 0, 0, 0 };
int failed;
if ((ctxt == NULL) || (ctxt->input == NULL)) {