summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-11-21 15:39:03 -0800
committerBen Straub <bs@github.com>2012-11-27 13:18:29 -0800
commita8122b5d4a179456b1a1d9af8d09313e22bfab8d (patch)
tree0c761b335489f93a6db1aecdde506a037c64dd92 /include/git2
parent4604a65460b42ee4b3fead03dbb92197d583cc65 (diff)
downloadlibgit2-a8122b5d4a179456b1a1d9af8d09313e22bfab8d.tar.gz
Fix warnings on Win64 build
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/index.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/index.h b/include/git2/index.h
index 9d1fd17d0..fa9a19785 100644
--- a/include/git2/index.h
+++ b/include/git2/index.h
@@ -258,7 +258,7 @@ GIT_EXTERN(int) git_index_write_tree_to(git_oid *out, git_index *index, git_repo
* @param index an existing index object
* @return integer of count of current entries
*/
-GIT_EXTERN(unsigned int) git_index_entrycount(const git_index *index);
+GIT_EXTERN(size_t) git_index_entrycount(const git_index *index);
/**
* Clear the contents (all the entries) of an index object.