Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2015-10-21 13:09:29 +0300
committerVicent Marti <tanoku@gmail.com>2015-10-21 13:09:29 +0300
commitbbe1957b8c75760c81ce04c7edf6d203513b39f8 (patch)
tree1d90ef8d2b4174b686f4fdce9b9036f873040727 /tests/diff
parent128e94bbbb1f1af539be7fb2844e261bfdb28fed (diff)
tests: Fix warnings
Diffstat (limited to 'tests/diff')
-rw-r--r--tests/diff/workdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/diff/workdir.c b/tests/diff/workdir.c
index 89f9483a6..dac32453b 100644
--- a/tests/diff/workdir.c
+++ b/tests/diff/workdir.c
@@ -2080,7 +2080,7 @@ void test_diff_workdir__to_index_pathlist(void)
cl_git_pass(git_repository_index(&index, g_repo));
opts.flags = GIT_DIFF_INCLUDE_IGNORED;
- opts.pathspec.strings = pathlist.contents;
+ opts.pathspec.strings = (char **)pathlist.contents;
opts.pathspec.count = pathlist.length;
cl_git_pass(git_diff_index_to_workdir(&diff, g_repo, index, &opts));