Commits

releng  committed f22643f

#i10000# fix for Win32 warning

  • Participants
  • Parent commits 5ed025e

Comments (0)

Files changed (1)

File unoxml/source/rdf/librdf_repository.cxx

     // 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()),