diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 07:57:58 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-24 16:10:12 +0200 |
commit | b8457baae24269c9fb777591e2a0e1b425ba31b6 (patch) | |
tree | 777a98dbd74f4906ac2faf0042e5118578196db7 /include/git2/oid.h | |
parent | 944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff) | |
download | libgit2-b8457baae24269c9fb777591e2a0e1b425ba31b6.tar.gz |
portability: Improve x86/amd64 compatibility
Diffstat (limited to 'include/git2/oid.h')
-rw-r--r-- | include/git2/oid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/oid.h b/include/git2/oid.h index a05b40a3..4d079648 100644 --- a/include/git2/oid.h +++ b/include/git2/oid.h @@ -147,7 +147,7 @@ GIT_EXTERN(int) git_oid_cmp(const git_oid *a, const git_oid *b); * @param len the number of hex chars to compare * @return 0 in case of a match */ -GIT_EXTERN(int) git_oid_ncmp(const git_oid *a, const git_oid *b, unsigned int len); +GIT_EXTERN(int) git_oid_ncmp(const git_oid *a, const git_oid *b, size_t len); /** * Check if an oid equals an hex formatted object id. |