Fixed merge REUC test for big-endian 64-bit

This commit is contained in:
Jakub Čajka 2014-06-11 09:37:15 +02:00 committed by Jacques Germishuys
parent ff97778a7a
commit d99e547173

View File

@ -327,7 +327,7 @@ int merge_test_reuc(git_index *index, const struct merge_reuc_entry expected[],
int dircount(void *payload, git_buf *pathbuf)
{
int *entries = payload;
size_t *entries = payload;
size_t len = git_buf_len(pathbuf);
if (len < 5 || strcmp(pathbuf->ptr + (git_buf_len(pathbuf) - 5), "/.git") != 0)