diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-12 22:26:05 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-12 22:26:05 +0400 |
commit | 53f661b3140fe728fe3b8f421841dcb8e6f716ab (patch) | |
tree | 036dae0b8c9d2c319671d9278ec0e9b95c8ce300 /sax | |
parent | 36627af621d46674273f44e2eb85731419a41cc1 (diff) |
sax: no matching function for call to 'max(int, sal_Int32&)'
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; |