diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:07:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:25 +0100 |
commit | 7eeabbca710d387e462043afdc3d8af4e28b2123 (patch) | |
tree | fddc6e0e1ee77baf80cf93786549e2c886579652 /sot/qa/cppunit | |
parent | 84676d50ca5d6e75dc194540ee9d5d37dec0c5fe (diff) |
Clean up C-style casts from pointers to void
Change-Id: I1d157bfc82f09f2438e59eca4fcd92931ca38723
Diffstat (limited to 'sot/qa/cppunit')
-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; |