summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRelease Engineers <releng@openoffice.org>2009-08-31 07:25:18 +0000
committerRelease Engineers <releng@openoffice.org>2009-08-31 07:25:18 +0000
commitff6d9e0ca9ecafcc500a393027e7e61949786fd6 (patch)
tree03d5d19b0a5196edc4c7680f419d2d0024979145
parent4e4f0e5e8b580ea06dc164cb22f3059a11e2a98d (diff)
#i10000# fix for Win32 warning
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index c9d501756..c42887a9c 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()),