summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf
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
commitc2f366873f2a3b423265a1ebfdb5e1547d49f3e5 (patch)
treeb91f6e9c22e5900991ec22cc0947cb5a7e459e45 /unoxml/source/rdf
parenta6664b6747ca61b47b4c1638df375bd9b8f0518a (diff)
#i10000# fix for Win32 warning
Diffstat (limited to 'unoxml/source/rdf')
-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 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()),