summaryrefslogtreecommitdiff
path: root/tests/diff/workdir.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2015-10-21 12:09:29 +0200
committerVicent Marti <tanoku@gmail.com>2015-10-21 12:09:29 +0200
commitbbe1957b8c75760c81ce04c7edf6d203513b39f8 (patch)
tree1d90ef8d2b4174b686f4fdce9b9036f873040727 /tests/diff/workdir.c
parent128e94bbbb1f1af539be7fb2844e261bfdb28fed (diff)
downloadlibgit2-vmg/crud.tar.gz
tests: Fix warningsvmg/crud
Diffstat (limited to 'tests/diff/workdir.c')
-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));