diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 09:57:58 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 18:10:12 +0400 |
commit | b8457baae24269c9fb777591e2a0e1b425ba31b6 (patch) | |
tree | 777a98dbd74f4906ac2faf0042e5118578196db7 /src/odb_pack.c | |
parent | 944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff) |
portability: Improve x86/amd64 compatibility
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 4b860e864..22b7380f0 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -149,7 +149,7 @@ static int pack_entry_find_prefix( struct git_pack_entry *e, struct pack_backend *backend, const git_oid *short_oid, - unsigned int len); + size_t len); @@ -295,7 +295,7 @@ static int pack_entry_find_prefix( struct git_pack_entry *e, struct pack_backend *backend, const git_oid *short_oid, - unsigned int len) + size_t len) { int error; unsigned int i; @@ -384,7 +384,7 @@ static int pack_backend__read_prefix( git_otype *type_p, git_odb_backend *backend, const git_oid *short_oid, - unsigned int len) + size_t len) { int error = 0; |