diff options
| author | Vicent Martà <vicent@github.com> | 2013-09-21 09:34:03 -0700 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-09-21 09:34:03 -0700 |
| commit | 92d19d16711c059c768063956abd31db346d2e7b (patch) | |
| tree | 2110237444fb9e24463f159675734f1dd6f0a028 /src/remote.c | |
| parent | daef29ea3ed84c2ec558c46fa08077b5b55fe63d (diff) | |
| parent | 66566516ce5171111ea4c5a8160adb4b0b0dc675 (diff) | |
| download | libgit2-92d19d16711c059c768063956abd31db346d2e7b.tar.gz | |
Merge pull request #1840 from linquize/warning
Fix warning
Diffstat (limited to 'src/remote.c')
| -rw-r--r-- | src/remote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.c b/src/remote.c index bfcb3eb65..1540f10d9 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; |
