Commit 26911cbd by nulltoken

Fix MSVC compilation warnings

parent bf9a2e98
...@@ -502,27 +502,27 @@ static int setup_empty_tmp_dir() ...@@ -502,27 +502,27 @@ static int setup_empty_tmp_dir()
{ {
char path[GIT_PATH_MAX]; char path[GIT_PATH_MAX];
if (mkdir(empty_tmp_dir, 0755)) if (p_mkdir(empty_tmp_dir, 0755))
return -1; return -1;
git_path_join(path, empty_tmp_dir, "/one"); git_path_join(path, empty_tmp_dir, "/one");
if (mkdir(path, 0755)) if (p_mkdir(path, 0755))
return -1; return -1;
git_path_join(path, empty_tmp_dir, "/one/two_one"); git_path_join(path, empty_tmp_dir, "/one/two_one");
if (mkdir(path, 0755)) if (p_mkdir(path, 0755))
return -1; return -1;
git_path_join(path, empty_tmp_dir, "/one/two_two"); git_path_join(path, empty_tmp_dir, "/one/two_two");
if (mkdir(path, 0755)) if (p_mkdir(path, 0755))
return -1; return -1;
git_path_join(path, empty_tmp_dir, "/one/two_two/three"); git_path_join(path, empty_tmp_dir, "/one/two_two/three");
if (mkdir(path, 0755)) if (p_mkdir(path, 0755))
return -1; return -1;
git_path_join(path, empty_tmp_dir, "/two"); git_path_join(path, empty_tmp_dir, "/two");
if (mkdir(path, 0755)) if (p_mkdir(path, 0755))
return -1; return -1;
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment