tree-walk: use size_t consistently
[gitweb.git] / cache-tree.c
index b13bfaf71e9e1554173beca4cfd8acf5929bc9ce..badf5669f1d69ca70b79d2b1607d12280f544cae 100644 (file)
@@ -713,7 +713,7 @@ static struct cache_tree *find_cache_tree_from_traversal(struct cache_tree *root
        if (!info->prev)
                return root;
        our_parent = find_cache_tree_from_traversal(root, info->prev);
-       return cache_tree_find(our_parent, info->name.path);
+       return cache_tree_find(our_parent, info->name);
 }
 
 int cache_tree_matches_traversal(struct cache_tree *root,