Skip to content

Commit

Permalink
Fix compilation issue in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hal7df committed Aug 26, 2019
1 parent 3637607 commit 60d0293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int Directory::mkdir (const char *pathname)
#ifdef __unix
return ::mkdir(pathname ,0755);
#elif __WIN32
return _mkdir(toPlatform(pathname));
return _mkdir(toPlatform(pathname).c_str());
#endif
}

Expand Down

0 comments on commit 60d0293

Please sign in to comment.