diff --git a/src/platform_compat.cc b/src/platform_compat.cc index 185f7e3..5b204d0 100644 --- a/src/platform_compat.cc +++ b/src/platform_compat.cc @@ -137,7 +137,7 @@ int compat_mkdir(const char* path) compat_windows_path_to_native(nativePath); std::error_code ec; - if (std::filesystem::create_directory(std::filesystem::path(path), ec)) { + if (std::filesystem::create_directory(std::filesystem::path(nativePath), ec)) { return 0; }