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:
authorLinquize <linquize@yahoo.com.hk>2013-09-08 13:15:42 +0400
committerLinquize <linquize@yahoo.com.hk>2013-09-19 19:14:06 +0400
commit66566516ce5171111ea4c5a8160adb4b0b0dc675 (patch)
tree20d7374e602911f282ddfedf8449c8b8176d85d9 /src/remote.c
parentef6389ad504037e7a4311adbf14f1fa5a5aa4190 (diff)
Fix warning
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c
index bdc8e0e67..e4452513a 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -362,7 +362,7 @@ cleanup:
static int update_config_refspec(const git_remote *remote, git_config *config, int direction)
{
git_buf name = GIT_BUF_INIT;
- int push;
+ unsigned int push;
const char *dir;
size_t i;
int error = 0;
@@ -1549,7 +1549,7 @@ int git_remote_add_push(git_remote *remote, const char *refspec)
return add_refspec(remote, refspec, false);
}
-static int copy_refspecs(git_strarray *array, git_remote *remote, int push)
+static int copy_refspecs(git_strarray *array, git_remote *remote, unsigned int push)
{
size_t i;
git_vector refspecs;