diff options
Diffstat (limited to 'sot/qa')
-rw-r--r-- | sot/qa/cppunit/test_sot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx index 3c24588ee9ab..03b486932c25 100644 --- a/sot/qa/cppunit/test_sot.cxx +++ b/sot/qa/cppunit/test_sot.cxx @@ -48,7 +48,7 @@ namespace const OUString &rStreamName, sal_uLong nSize ) { - unsigned char *pData = (unsigned char*)malloc( nSize ); + unsigned char *pData = static_cast<unsigned char*>(malloc( nSize )); sal_uLong nReadableSize = 0; if( !pData ) return true; |