diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index c9d501756167..c42887a9cf9f 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -966,7 +966,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, // UGLY: if only that redland junk could read streams... const sal_Int64 sz( xSeekable.is() ? xSeekable->getLength() : 1 << 20 ); // exceptions are propagated - i_xInStream->readBytes(buf, sz); + i_xInStream->readBytes( buf, static_cast( sz ) ); const boost::shared_ptr pStream( librdf_parser_parse_counted_string_as_stream(pParser.get(), reinterpret_cast(buf.getConstArray()),