Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-11-13 23:12:31 +0400
committerRussell Belfer <rb@github.com>2013-11-13 23:12:31 +0400
commit98eaf39a87164eeb284df5c0239c3a31dfb538e7 (patch)
tree98cf7cd59f4ac2b30766b50dcef67ff631b6dbd9 /src/push.c
parentcfd16ca28e593d084350b497b06eac7cb7a6c240 (diff)
Fix warnings
Diffstat (limited to 'src/push.c')
-rw-r--r--src/push.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/push.c b/src/push.c
index 5ad15e3fd..3c9d5bb35 100644
--- a/src/push.c
+++ b/src/push.c
@@ -618,7 +618,7 @@ on_error:
static int filter_refs(git_remote *remote)
{
- git_remote_head **heads;
+ const git_remote_head **heads;
size_t heads_len, i;
git_vector_clear(&remote->refs);
@@ -627,7 +627,7 @@ static int filter_refs(git_remote *remote)
return -1;
for (i = 0; i < heads_len; i++) {
- if (git_vector_insert(&remote->refs, heads[i]) < 0)
+ if (git_vector_insert(&remote->refs, (void *)heads[i]) < 0)
return -1;
}