summaryrefslogtreecommitdiff
path: root/src/branch.c
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-02-11 11:44:00 -0800
committerRussell Belfer <rb@github.com>2013-02-11 11:44:00 -0800
commit390a3c81410a219b13aa6f333949c803524c8bd2 (patch)
treeb6487640acf5adb87f5a0f8ee25dedd44df63ffb /src/branch.c
parente026cfee003e103d79e56983d68a206ae907eada (diff)
parent3ad052218cd03fe58b254f878825e3f0fd4b3054 (diff)
downloadlibgit2-390a3c81410a219b13aa6f333949c803524c8bd2.tar.gz
Merge pull request #1190 from nulltoken/topic/reset-paths
reset: Allow the selective reset of pathspecs
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 936947a73..11ecbe9a1 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -429,7 +429,7 @@ int git_branch_tracking_name(
if (tracking_branch_name_out)
git_buf_copy_cstr(tracking_branch_name_out, buffer_size, &buf);
- error = buf.size + 1;
+ error = (int)buf.size + 1;
cleanup:
git_buf_free(&buf);