diff options
Diffstat (limited to '')
-rw-r--r-- | source/cMakeDir.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cMakeDir.cpp b/source/cMakeDir.cpp index 8c43a7d92..a28b3a088 100644 --- a/source/cMakeDir.cpp +++ b/source/cMakeDir.cpp @@ -7,16 +7,16 @@ -void cMakeDir::MakeDir( const char* a_Directory )
+void cMakeDir::MakeDir(const AString & a_Directory)
{
#ifdef _WIN32
SECURITY_ATTRIBUTES Attrib;
Attrib.nLength = sizeof(SECURITY_ATTRIBUTES);
Attrib.lpSecurityDescriptor = NULL;
Attrib.bInheritHandle = false;
- ::CreateDirectory(a_Directory, &Attrib);
+ ::CreateDirectory(a_Directory.c_str(), &Attrib);
#else
- mkdir(a_Directory, S_IRWXU | S_IRWXG | S_IRWXO);
+ mkdir(a_Directory.c_str(), S_IRWXU | S_IRWXG | S_IRWXO);
#endif
}
|