summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
diff options
context:
space:
mode:
authorOnur Yilmaz <onuryilmaz0750@gmail.com>2020-01-11 19:12:07 +0300
committerMichael Stahl <michael.stahl@cib.de>2020-01-16 16:37:01 +0100
commit5434688e5c38d438444dd8d088dff9d3de58214a (patch)
tree10e23308159a53f8e4fc0e447023d75396985b39 /sfx2/source/bastyp
parentb43255af2d8f9f7cc8c1e5ed15de398695b29048 (diff)
tdf#75280 Convert inappropriate use of sal_uIntPtr to better integer types
Change-Id: I9f2b7d3cd0954f5ffa3cfb194cd625ea175ff6bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86608 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r--sfx2/source/bastyp/mieclip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index ecd2ebba936f..dd3871db719a 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -79,7 +79,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
if (nFragStart > 0 && nFragEnd > 0 && nFragEnd > nFragStart)
{
- sal_uIntPtr nSize = static_cast<sal_uIntPtr>(nFragEnd - nFragStart + 1);
+ size_t nSize = static_cast<size_t>(nFragEnd - nFragStart + 1);
if (nSize < 0x10000L)
{
rStream.Seek(nFragStart);