summaryrefslogtreecommitdiff
path: root/src/tree.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/tree.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/tree.c')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index e05105a9d..59bd92ab1 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -355,7 +355,7 @@ size_t git_tree_entrycount(const git_tree *tree)
unsigned int git_treebuilder_entrycount(git_treebuilder *bld)
{
assert(bld);
- return bld->entries.length;
+ return (int)bld->entries.length;
}
static int tree_error(const char *str, const char *path)