summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:58:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-16 14:19:28 +0000
commit347f67dd67f79316912db5611358957bbc4c9524 (patch)
treeb4318da87b6fd567f173c5fa18f9090bbe906f0c /codemaker
parent3b02c40a404f5a7a635e6c936dc8362b8911edb8 (diff)
clang-cl loplugin: codemaker
Change-Id: I1e11ea28d90a5ee47a0ad6d302724b226ef8440b Reviewed-on: https://gerrit.libreoffice.org/29877 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/global.cxx2
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 )