Commit 99090a85 by Carlos Martín Nieto

Merge pull request #3289 from ethomson/warnings4

iterator_walk: cast away constness for free
parents f034c851 dd6b24b1
...@@ -1921,8 +1921,8 @@ int git_iterator_walk( ...@@ -1921,8 +1921,8 @@ int git_iterator_walk(
} }
done: done:
git__free(iterator_item); git__free((git_index_entry **)iterator_item);
git__free(cur_items); git__free((git_index_entry **)cur_items);
if (error == GIT_ITEROVER) if (error == GIT_ITEROVER)
error = 0; error = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment