diff options
author | Russell Belfer <rb@github.com> | 2012-04-13 13:00:10 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-04-17 10:47:39 -0700 |
commit | 44ef8b1b300f0cd3d8572fa1b40d257462f28240 (patch) | |
tree | 34f38bee213d1041fec7ac9dc4e63191182f3bf8 /tests-clar/diff/diff_helpers.c | |
parent | f201d613a80f7ad6f54d90eb7a7a0d8b8c72676b (diff) | |
download | libgit2-44ef8b1b300f0cd3d8572fa1b40d257462f28240.tar.gz |
Fix warnings on 64-bit windows builds
This fixes all the warnings on win64 except those in deps, which
come from the regex code.
Diffstat (limited to 'tests-clar/diff/diff_helpers.c')
-rw-r--r-- | tests-clar/diff/diff_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/diff/diff_helpers.c b/tests-clar/diff/diff_helpers.c index 055bd4bc..c9a633cd 100644 --- a/tests-clar/diff/diff_helpers.c +++ b/tests-clar/diff/diff_helpers.c @@ -5,7 +5,7 @@ git_tree *resolve_commit_oid_to_tree( git_repository *repo, const char *partial_oid) { - size_t len = strlen(partial_oid); + unsigned int len = (unsigned int)strlen(partial_oid); git_oid oid; git_object *obj = NULL; git_tree *tree = NULL; |