Merge pull request #307 from nulltoken/patch-1 Fix MSVC compilation warnings
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
diff --git a/tests/t00-core.c b/tests/t00-core.c
index ee1eb6d..7bcc77a 100644
--- a/tests/t00-core.c
+++ b/tests/t00-core.c
@@ -502,27 +502,27 @@ static int setup_empty_tmp_dir()
{
char path[GIT_PATH_MAX];
- if (mkdir(empty_tmp_dir, 0755))
+ if (p_mkdir(empty_tmp_dir, 0755))
return -1;
git_path_join(path, empty_tmp_dir, "/one");
- if (mkdir(path, 0755))
+ if (p_mkdir(path, 0755))
return -1;
git_path_join(path, empty_tmp_dir, "/one/two_one");
- if (mkdir(path, 0755))
+ if (p_mkdir(path, 0755))
return -1;
git_path_join(path, empty_tmp_dir, "/one/two_two");
- if (mkdir(path, 0755))
+ if (p_mkdir(path, 0755))
return -1;
git_path_join(path, empty_tmp_dir, "/one/two_two/three");
- if (mkdir(path, 0755))
+ if (p_mkdir(path, 0755))
return -1;
git_path_join(path, empty_tmp_dir, "/two");
- if (mkdir(path, 0755))
+ if (p_mkdir(path, 0755))
return -1;
return 0;