diff options
author | Release Engineers <releng@openoffice.org> | 2009-08-31 07:25:18 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-08-31 07:25:18 +0000 |
commit | c2f366873f2a3b423265a1ebfdb5e1547d49f3e5 (patch) | |
tree | b91f6e9c22e5900991ec22cc0947cb5a7e459e45 /unoxml/source/rdf | |
parent | a6664b6747ca61b47b4c1638df375bd9b8f0518a (diff) |
#i10000# fix for Win32 warning
Diffstat (limited to 'unoxml/source/rdf')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<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()), |