summaryrefslogtreecommitdiff
path: root/include/git2/pack.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-08-02 18:43:12 -0400
committerGitHub <noreply@github.com>2016-08-02 18:43:12 -0400
commit152efee20b74ea261cf8e05410a110687e17376e (patch)
treefbeeb809f3e7fd64d38a647a14ce331a5f5aeba5 /include/git2/pack.h
parenta37624ecc7e8949ed9013af3bcb974f510720316 (diff)
parentdf87648ab87f99a7cc53bdabc8aceb01e6771dac (diff)
downloadlibgit2-152efee20b74ea261cf8e05410a110687e17376e.tar.gz
Merge pull request #3865 from libgit2/ethomson/leaks
Fix leaks, some warnings and an error
Diffstat (limited to 'include/git2/pack.h')
-rw-r--r--include/git2/pack.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/pack.h b/include/git2/pack.h
index 4941998eb..2dfd825e9 100644
--- a/include/git2/pack.h
+++ b/include/git2/pack.h
@@ -196,7 +196,7 @@ GIT_EXTERN(int) git_packbuilder_foreach(git_packbuilder *pb, git_packbuilder_for
* @param pb the packbuilder
* @return the number of objects in the packfile
*/
-GIT_EXTERN(uint32_t) git_packbuilder_object_count(git_packbuilder *pb);
+GIT_EXTERN(size_t) git_packbuilder_object_count(git_packbuilder *pb);
/**
* Get the number of objects the packbuilder has already written out
@@ -204,13 +204,13 @@ GIT_EXTERN(uint32_t) git_packbuilder_object_count(git_packbuilder *pb);
* @param pb the packbuilder
* @return the number of objects which have already been written
*/
-GIT_EXTERN(uint32_t) git_packbuilder_written(git_packbuilder *pb);
+GIT_EXTERN(size_t) git_packbuilder_written(git_packbuilder *pb);
/** Packbuilder progress notification function */
typedef int (*git_packbuilder_progress)(
int stage,
- unsigned int current,
- unsigned int total,
+ uint32_t current,
+ uint32_t total,
void *payload);
/**