Commit 5a20196f2d2d0af9d0ac5eb2a17b042b1fd77fea

Ben Straub 2012-06-21T15:11:13

Fix warning on msvc build.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/clone/clone.c b/tests-clar/clone/clone.c
index e2ce85f..1e6b4d9 100644
--- a/tests-clar/clone/clone.c
+++ b/tests-clar/clone/clone.c
@@ -117,7 +117,7 @@ void test_clone_clone__network_bare(void)
 
 void test_clone_clone__already_exists(void)
 {
-   mkdir("./foo", GIT_DIR_MODE);
+   p_mkdir("./foo", GIT_DIR_MODE);
    cl_git_fail(git_clone(&g_repo,
                          "https://github.com/libgit2/libgit2.git",
                          "./foo", NULL));