diff options
Diffstat (limited to 'include/rtl/byteseq.hxx')
-rw-r--r-- | include/rtl/byteseq.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtl/byteseq.hxx b/include/rtl/byteseq.hxx index c49e37125998..494b17c4d8bd 100644 --- a/include/rtl/byteseq.hxx +++ b/include/rtl/byteseq.hxx @@ -95,7 +95,7 @@ inline sal_Int8 * ByteSequence::getArray() ::rtl_byte_sequence_reference2One( &_pSequence ); if (_pSequence == 0) throw ::std::bad_alloc(); - return (sal_Int8 *)_pSequence->elements; + return reinterpret_cast<sal_Int8 *>(_pSequence->elements); } inline void ByteSequence::realloc( sal_Int32 nSize ) |