diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 2 |
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) |