diff options
Diffstat (limited to 'sot/source/sdstor/stgole.cxx')
-rw-r--r-- | sot/source/sdstor/stgole.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx index c91d86120867..f4ca083393eb 100644 --- a/sot/source/sdstor/stgole.cxx +++ b/sot/source/sdstor/stgole.cxx @@ -118,7 +118,7 @@ bool StgCompObjStream::Load() if ( nLen1 > 0 ) { // higher bits are ignored - sal_uLong nStrLen = ::std::min( nLen1, (sal_Int32)0xFFFE ); + sal_uLong nStrLen = ::std::min( nLen1, sal_Int32(0xFFFE) ); std::unique_ptr<sal_Char[]> p(new sal_Char[ nStrLen+1 ]); p[nStrLen] = 0; |