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-04-19 01:48:20 +0400
committerRussell Belfer <rb@github.com>2013-04-19 01:59:25 +0400
commit38fd8121a2a87cc0da405b50f4439ca6578dcff5 (patch)
treed98b7cb09ca57b89b8239f31f4cf6d6c81b80568 /src/branch.c
parent9ea29c8f1dd155cf62fc6c87edaeb9984da72f72 (diff)
Fix win64 warnings
Diffstat (limited to 'src/branch.c')
-rw-r--r--src/branch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c
index e7088790e..956286b74 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -377,7 +377,7 @@ int git_branch_remote_name(char *buffer, size_t buffer_len, git_repository *repo
if (buffer)
git_buf_copy_cstr(buffer, buffer_len, &buf);
- ret = git_buf_len(&buf) + 1;
+ ret = (int)git_buf_len(&buf) + 1;
git_buf_free(&buf);
return ret;