@@ -333,13 +333,14 @@ document* hexml_document_parse(const char* s, int slen)
333 return d;
333 return d;
336−void main()
336+int main()
338 const document* d = hexml_document_parse("<test foo='123 xyz'/>", -1);
338 const document* d = hexml_document_parse("<test foo='123 xyz'/>", -1);
339 char buf[1000];
339 char buf[1000];
340 int len = hexml_node_render(d, hexml_document_node(d), buf, sizeof(buf));
340 int len = hexml_node_render(d, hexml_document_node(d), buf, sizeof(buf));
341 buf[len] = 0;
341 buf[len] = 0;
342 printf("Result = %s\n", buf);
342 printf("Result = %s\n", buf);