diff options
author | nulltoken <emeric.fermas@gmail.com> | 2013-06-29 14:48:58 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2013-06-29 15:27:55 +0400 |
commit | c4ac556ee7171ee206e11687907d5dbee3ce0a6d (patch) | |
tree | defe10a5a0eaa881d3bdbbc10c667f5a9bd10c1e /tests-clar/merge | |
parent | f2c41884c3082984f51743d557644cfa2136b878 (diff) |
Fix compilation warnings
Diffstat (limited to 'tests-clar/merge')
-rw-r--r-- | tests-clar/merge/trees/automerge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/merge/trees/automerge.c b/tests-clar/merge/trees/automerge.c index 04a7beff6..746ce5068 100644 --- a/tests-clar/merge/trees/automerge.c +++ b/tests-clar/merge/trees/automerge.c @@ -122,7 +122,7 @@ void test_merge_trees_automerge__automerge(void) cl_assert(entry->file_size == strlen(AUTOMERGEABLE_MERGED_FILE)); cl_git_pass(git_object_lookup((git_object **)&blob, repo, &entry->oid, GIT_OBJ_BLOB)); - cl_assert(memcmp(git_blob_rawcontent(blob), AUTOMERGEABLE_MERGED_FILE, entry->file_size) == 0); + cl_assert(memcmp(git_blob_rawcontent(blob), AUTOMERGEABLE_MERGED_FILE, (size_t)entry->file_size) == 0); git_index_free(index); git_blob_free(blob); |