From 60d029385cdefd7bc0ce4cebfaa7df5100c4386e Mon Sep 17 00:00:00 2001 From: Paul Bunyan Date: Sun, 25 Aug 2019 23:28:50 -0400 Subject: [PATCH] Fix compilation issue in Windows --- Directory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.cpp b/Directory.cpp index 129c69a..4a53f90 100644 --- a/Directory.cpp +++ b/Directory.cpp @@ -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 }