diff options
Diffstat (limited to 'xmlscript/source/xml_helper/xml_byteseq.cxx')
-rw-r--r-- | xmlscript/source/xml_helper/xml_byteseq.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx index 5291dfbd5187..e0d5ec272466 100644 --- a/xmlscript/source/xml_helper/xml_byteseq.cxx +++ b/xmlscript/source/xml_helper/xml_byteseq.cxx @@ -56,7 +56,7 @@ public: sal_Int32 BSeqInputStream::readBytes( Sequence< sal_Int8 > & rData, sal_Int32 nBytesToRead ) { - nBytesToRead = ((nBytesToRead > (sal_Int32)_seq.size() - _nPos) + nBytesToRead = ((nBytesToRead > static_cast<sal_Int32>(_seq.size()) - _nPos) ? _seq.size() - _nPos : nBytesToRead); |