[ooo-build-commit] Branch 'ooo/master' - unoxml/source

Jan Holesovsky kendy at kemper.freedesktop.org
Mon Aug 31 17:42:30 PDT 2009


 unoxml/source/rdf/librdf_repository.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff6d9e0ca9ecafcc500a393027e7e61949786fd6
Author: Release Engineers <releng at openoffice.org>
Date:   Mon Aug 31 07:25:18 2009 +0000

    #i10000# fix for Win32 warning

diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index c9d5017..c42887a 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<sal_Int32>( sz ) );
     const boost::shared_ptr<librdf_stream> pStream(
         librdf_parser_parse_counted_string_as_stream(pParser.get(),
             reinterpret_cast<const unsigned char*>(buf.getConstArray()),


More information about the ooo-build-commit mailing list