diff options
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 17ec892ff7b5..c3dc266a655d 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -133,7 +133,7 @@ OString createFileNameFromType( const OString& destination, #if defined(SAL_UNX) if (mkdir(buffer.getStr(), 0777) == -1) #else - if (mkdir((char*)buffer.getStr()) == -1) + if (mkdir(buffer.getStr()) == -1) #endif { if ( errno == ENOENT ) |