bridges/source/cpp_uno/shared/vtablefactory.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 269b0b40814defe0241e8c79c1834e488ea13bc5
Author: Stephan Bergmann <[email protected]>
Date:   Tue Nov 11 08:28:52 2014 +0100

    Avoid -fsanitize=signed-integer-overflow
    
    Change-Id: Icec67e6eb57605102cabf494d3e2bb6249d785c7

diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx 
b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index 2daf76b..2af1b62 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),
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to