summaryrefslogtreecommitdiff
path: root/ext/syck/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/node.c')
-rw-r--r--ext/syck/node.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/syck/node.c b/ext/syck/node.c
index f009cc5884..182ffee98b 100644
--- a/ext/syck/node.c
+++ b/ext/syck/node.c
@@ -1,17 +1,17 @@
-//
-// node.c
-//
-// $Author$
-// $Date$
-//
-// Copyright (C) 2003 why the lucky stiff
-//
+/*
+ * node.c
+ *
+ * $Author$
+ * $Date$
+ *
+ * Copyright (C) 2003 why the lucky stiff
+ */
#include "syck.h"
-//
-// Node allocation functions
-//
+/*
+ * Node allocation functions
+ */
SyckNode *
syck_alloc_node( enum syck_kind_tag type )
{
@@ -19,7 +19,7 @@ syck_alloc_node( enum syck_kind_tag type )
s = S_ALLOC( SyckNode );
s->kind = type;
- s->id = NULL;
+ s->id = 0;
s->type_id = NULL;
s->anchor = NULL;