diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-01 15:22:06 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-01 15:22:06 +0300 |
| commit | e8f80bae97a835b6b256228d4bbeaf48ae16dcbb (patch) | |
| tree | 82605e5f057840c314615d4581311c197033705d /src/sp_tree.c | |
| parent | bc600ecc3bdf0f189861dfb840f70c2339a7a853 (diff) | |
| download | kmi-e8f80bae97a835b6b256228d4bbeaf48ae16dcbb.tar.gz kmi-e8f80bae97a835b6b256228d4bbeaf48ae16dcbb.zip | |
slight tweaks to sptree stuff
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 9f69158..23f707b 100644 --- a/src/sp_tree.c +++ b/src/sp_tree.c @@ -155,7 +155,7 @@ void sp_insert(struct sp_node **root, struct sp_node *p, struct sp_node *n, return; } - if (d == LEFT) + if (d == SP_LEFT) sp_left(p) = n; else sp_right(p) = n; |
