diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-04 15:19:01 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-04 15:19:09 +0200 |
commit | dbd675df91406b0542743fd86d0a0c732aba694a (patch) | |
tree | 1636a8a4353af6cf0e41ceff2b3629ec0fa47733 /tools/source | |
parent | notsupported.html appears unused (diff) | |
download | core-dbd675df91406b0542743fd86d0a0c732aba694a.tar.gz core-dbd675df91406b0542743fd86d0a0c732aba694a.zip |
Some "cast from ... to ... loses precision fixes"
Change-Id: Ib1d827bfa224e8708fd1e41b1ad213bcfef9a012
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 519dcea67eeb..d18835c30495 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -1235,9 +1235,9 @@ sal_uInt32 ResMgr::GetRemainSize() return pFallbackResMgr->GetRemainSize(); const ImpRCStack& rTop = aStack[nCurStack]; - return (sal_uInt32)((long)(sal_uInt8 *)rTop.pResource + + return (sal_uInt32)((sal_IntPtr)(sal_uInt8 *)rTop.pResource + rTop.pResource->GetLocalOff() - - (long)(sal_uInt8 *)rTop.pClassRes); + (sal_IntPtr)(sal_uInt8 *)rTop.pClassRes); } void* ResMgr::Increment( sal_uInt32 nSize ) |