diff options
| author | Thomas Schmucker <ts@its1.de> | 2020-09-02 14:58:00 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2020-09-02 14:58:00 +0200 |
| commit | e7cc0d492d67b798a44cb45dabc6893e31394988 (patch) | |
| tree | 8fb940a73832f5983148b862252658c6c7a02752 | |
| parent | fc01271dfd420f5dae9c074cd357e8108c6fa0b1 (diff) | |
| download | data-structures-e7cc0d492d67b798a44cb45dabc6893e31394988.tar.gz data-structures-e7cc0d492d67b798a44cb45dabc6893e31394988.tar.bz2 data-structures-e7cc0d492d67b798a44cb45dabc6893e31394988.zip | |
fix: richtiger Datentyp beim Test, ob tree ein BST ist.
| -rw-r--r-- | tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -17,7 +17,7 @@ struct tree_node { | |||
| 17 | }; | 17 | }; |
| 18 | 18 | ||
| 19 | static bool | 19 | static bool |
| 20 | tree_isBstUntil(struct tree_node *tree, int min, int max) | 20 | tree_isBstUntil(struct tree_node *tree, T min, T max) |
| 21 | { | 21 | { |
| 22 | if ( tree == NULL ) | 22 | if ( tree == NULL ) |
| 23 | return true; | 23 | return true; |
