diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index a2da02595b9b..512edab4fff7 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -330,7 +330,7 @@ bool FileStream::write(void const * buffer, sal_uInt64 size) { FileStream &operator<<(FileStream& o, sal_uInt32 i) { sal_uInt64 writtenBytes; - OString s = OString::number((sal_Int32)i); + OString s = OString::number(static_cast(i)); osl_writeFile(o.m_file, s.getStr(), s.getLength() * sizeof(sal_Char), &writtenBytes); return o; }