diff options
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx index b49d3dc72b0f..2fb07f5c3a36 100644 --- a/sax/source/expatwrap/xml2utf.cxx +++ b/sax/source/expatwrap/xml2utf.cxx @@ -57,7 +57,7 @@ sal_Int32 XMLFile2UTFConverter::readAndConvert( Sequence<sal_Int8> &seq , sal_In if( ! m_bStarted ) { // it should be possible to find the encoding attribute // within the first 512 bytes == 128 chars in UCS-4 - nMaxToRead = ::std::max( 512 , nMaxToRead ); + nMaxToRead = ::std::max( sal_Int32(512) , nMaxToRead ); } sal_Int32 nRead; |