This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch windows-amd64
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 9a9ee5926b5d74d68385183cdd7d12a171389780
Author: Damjan Jovanovic <[email protected]>
AuthorDate: Sat Feb 21 16:13:44 2026 +0200

    The asserted pointer size for AMD64 should be 64 bits.
    
    Patch by: me
---
 main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx 
b/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
index a4249c556e..98218480ab 100644
--- a/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
+++ b/main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
@@ -399,7 +399,7 @@ RaiseInfo::RaiseInfo( typelib_TypeDescription * pTypeDescr 
) throw ()
        , _n2( 0 )
 {
        // a must be
-       OSL_ENSURE( sizeof(sal_Int32) == sizeof(ExceptionType *), "### pointer 
size differs from sal_Int32!" );
+       OSL_ENSURE( sizeof(sal_Int64) == sizeof(ExceptionType *), "### pointer 
size differs from sal_Int64!" );
 
        ::typelib_typedescription_acquire( pTypeDescr );
        this->pTypeDescr = pTypeDescr;
@@ -581,8 +581,8 @@ void mscx_raiseException( uno_Any * pUnoExc, uno_Mapping * 
pUno2Cpp )
 
        // a must be
        OSL_ENSURE(
-        sizeof(sal_Int32) == sizeof(void *),
-        "### pointer size differs from sal_Int32!" );
+        sizeof(sal_Int64) == sizeof(void *),
+        "### pointer size differs from sal_Int64!" );
        RaiseInfo *raiseInfo = ExceptionInfos::getRaiseInfo( pTypeDescr );
        ULONG_PTR arFilterArgs[4];
        arFilterArgs[0] = MSVC_magic_number;

Reply via email to