diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-11 08:28:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-11 08:28:52 +0100 |
commit | 269b0b40814defe0241e8c79c1834e488ea13bc5 (patch) | |
tree | 34acffc1076b4aee367d2f13ce7e9b6bccffc517 /bridges | |
parent | fdo#84938: replace HELPMODE_ constants with enum (diff) | |
download | core-269b0b40814defe0241e8c79c1834e488ea13bc5.tar.gz core-269b0b40814defe0241e8c79c1834e488ea13bc5.zip |
Avoid -fsanitize=signed-integer-overflow
Change-Id: Icec67e6eb57605102cabf494d3e2bb6249d785c7
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/shared/vtablefactory.cxx | 2 |
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), |