From 53f661b3140fe728fe3b8f421841dcb8e6f716ab Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Mon, 12 Mar 2012 22:26:05 +0400 Subject: sax: no matching function for call to 'max(int, sal_Int32&)' --- sax/source/expatwrap/xml2utf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sax') 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 &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; -- cgit