aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schmucker <ts@its1.de>2020-09-02 14:58:00 +0200
committerThomas Schmucker <ts@its1.de>2020-09-02 14:58:00 +0200
commite7cc0d492d67b798a44cb45dabc6893e31394988 (patch)
tree8fb940a73832f5983148b862252658c6c7a02752
parentfc01271dfd420f5dae9c074cd357e8108c6fa0b1 (diff)
downloaddata-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index e04e088..cc2ae53 100644
--- a/tree.c
+++ b/tree.c
@@ -17,7 +17,7 @@ struct tree_node {
17}; 17};
18 18
19static bool 19static bool
20tree_isBstUntil(struct tree_node *tree, int min, int max) 20tree_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;