[PATCH] fix _mkdir parameter error.
zhengxiaojun
jameszxj at gmail.com
Fri Apr 1 03:41:04 UTC 2022
Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
---
tester/covoar/ReportsBase.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc
index 0fb9ce0..eb56c4f 100644
--- a/tester/covoar/ReportsBase.cc
+++ b/tester/covoar/ReportsBase.cc
@@ -65,7 +65,7 @@ void ReportsBase::OpenFile(
// Create the output directory if it does not already exist
#ifdef _WIN32
- sc = _mkdir( symbolSetOutputDirectory );
+ sc = _mkdir( symbolSetOutputDirectory.c_str() );
#else
sc = mkdir( symbolSetOutputDirectory.c_str(), 0755 );
#endif
--
2.35.1
More information about the devel
mailing list