Fix the scripts test.
[oweals/tinc.git] / src / splay_tree.c
index ee855192862863c739590e44a48272505a02bb0e..4d9737324f9475de83eb3e1b592b6e85f201a3af 100644 (file)
@@ -25,7 +25,7 @@
 /* Splay operation */
 
 static splay_node_t *splay_top_down(splay_tree_t *tree, const void *data, int *result) {
-       splay_node_t left = {NULL}, right = {NULL};
+       splay_node_t left = {0}, right = {0};
        splay_node_t *leftbottom = &left, *rightbottom = &right, *child, *grandchild;
        splay_node_t *root = tree->root;
        int c;