diff options
Diffstat (limited to 'src/sp_tree.c')
| -rw-r--r-- | src/sp_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_tree.c b/src/sp_tree.c index 55b6ff4..32394e1 100644 --- a/src/sp_tree.c +++ b/src/sp_tree.c | |||
| @@ -12,7 +12,7 @@ void sp_tree_free(sp_tree *tree) { | |||
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | sp_tree *sp_tree_new() { | 14 | sp_tree *sp_tree_new() { |
| 15 | sp_tree *new = pecalloc(sizeof(sp_tree), 1, 1); | 15 | sp_tree *new = pecalloc(1, sizeof(sp_tree), 1); |
| 16 | new->next = new->idx = NULL; | 16 | new->next = new->idx = NULL; |
| 17 | new->value = NULL; | 17 | new->value = NULL; |
| 18 | new->type = UNDEFINED; | 18 | new->type = UNDEFINED; |
