summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx
index 9adc662def4e..83687313c271 100644
--- a/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/bufferedinputstream.cxx
@@ -182,7 +182,7 @@ void SAL_CALL BufferedInputStream::seek( sal_Int64 location )
if( 0 <= location && location < m_nBufferSize )
{
osl::MutexGuard aGuard( m_aMutex );
- m_nBufferLocation = location;
+ m_nBufferLocation = sal::static_int_cast<sal_Int32>( location );
}
else
throw IllegalArgumentException();