summaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
authorLinquize <linquize@yahoo.com.hk>2013-10-31 22:59:42 +0800
committerVicent Marti <tanoku@gmail.com>2013-11-01 17:36:04 +0100
commit3343b5ffd37d25fa9f55c23c417cf761a7849e9f (patch)
treee3d2155c004ff26dc84ada5bcb84cc51a4cc075a /src/pack.c
parentab44c62e548373c1494e967f54720faa06ce38b7 (diff)
downloadlibgit2-3343b5ffd37d25fa9f55c23c417cf761a7849e9f.tar.gz
Fix warning on win64
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c
index 5df0f50b9..51fbc4e9d 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -372,7 +372,7 @@ static unsigned char *pack_window_open(
* - each byte afterwards: low seven bits are size continuation,
* with the high bit being "size continues"
*/
-int git_packfile__object_header(unsigned char *hdr, unsigned long size, git_otype type)
+int git_packfile__object_header(unsigned char *hdr, size_t size, git_otype type)
{
unsigned char *hdr_base;
unsigned char c;