summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-11 08:28:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-11 08:28:52 +0100
commit269b0b40814defe0241e8c79c1834e488ea13bc5 (patch)
tree34acffc1076b4aee367d2f13ce7e9b6bccffc517 /bridges
parenta52f29216d2a70ea4a0a0347d71273cdbf8830e3 (diff)
Avoid -fsanitize=signed-integer-overflow
Change-Id: Icec67e6eb57605102cabf494d3e2bb6249d785c7
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/shared/vtablefactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index 2daf76b17716..2af1b6287cb6 100644
--- a/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx
@@ -348,7 +348,7 @@ sal_Int32 VtableFactory::createVtables(
code = addLocalFunctions(
&slots, code,
#ifdef USE_DOUBLE_MMAP
- sal_IntPtr(block.exec) - sal_IntPtr(block.start),
+ sal_uIntPtr(block.exec) - sal_uIntPtr(block.start),
#endif
type2,
baseOffset.getFunctionOffset(type2->aBase.pTypeName),