Skip to content
Snippets Groups Projects
Commit 8a127afa authored by Pierre Kunzli's avatar Pierre Kunzli
Browse files

add type

parent a7590807
No related branches found
No related tags found
4 merge requests!6Pk,!5Pk,!4correction recherche parent et ajout sauts slides,!3Re re correction recherche
......@@ -922,7 +922,7 @@ ajout(arbre, clé)
tree_t position(tree_t tree, key_t key) {
tree_t current = tree;
if (NULL != current) {
subtree = key > current->key ? current->right :
tree_t subtree = key > current->key ? current->right :
current->left;
while (key != current->key && NULL != subtree) {
current = subtree;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment