summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-24 07:57:58 +0200
committernulltoken <emeric.fermas@gmail.com>2012-07-24 16:10:12 +0200
commitb8457baae24269c9fb777591e2a0e1b425ba31b6 (patch)
tree777a98dbd74f4906ac2faf0042e5118578196db7 /src/odb.c
parent944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff)
downloadlibgit2-b8457baae24269c9fb777591e2a0e1b425ba31b6.tar.gz
portability: Improve x86/amd64 compatibility
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.c b/src/odb.c
index 493c8292a..dcaf6acb6 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -553,7 +553,7 @@ int git_odb_read(git_odb_object **out, git_odb *db, const git_oid *id)
}
int git_odb_read_prefix(
- git_odb_object **out, git_odb *db, const git_oid *short_id, unsigned int len)
+ git_odb_object **out, git_odb *db, const git_oid *short_id, size_t len)
{
unsigned int i;
int error = GIT_ENOTFOUND;