summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-02-05 16:52:56 +0100
committernulltoken <emeric.fermas@gmail.com>2013-02-05 20:33:27 +0100
commit3ad052218cd03fe58b254f878825e3f0fd4b3054 (patch)
tree7b8f59dd9f12a3be9ea8daff291fcfeb03f4592e /src/tree.c
parentd96aa8a9ca74a40502d86de4c36e0a54b1ed1dc7 (diff)
downloadlibgit2-3ad052218cd03fe58b254f878825e3f0fd4b3054.tar.gz
Fix MSVC compilation warnings
Fix #1308
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)