You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by da...@apache.org on 2025/02/01 15:50:34 UTC

(openoffice) 09/09: Try another way of assigning that stack slot.

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 ff15b20cbe2d55811855aff9af9ce28f63319092
Author: Damjan Jovanovic <da...@apache.org>
AuthorDate: Sat Feb 1 14:29:11 2025 +0200

    Try another way of assigning that stack slot.
    
    Patch by: me
---
 main/bridges/source/cpp_uno/msvc_win64_x86-64/uno2cpp.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/bridges/source/cpp_uno/msvc_win64_x86-64/uno2cpp.cxx b/main/bridges/source/cpp_uno/msvc_win64_x86-64/uno2cpp.cxx
index 7928610059..8144b2214b 100644
--- a/main/bridges/source/cpp_uno/msvc_win64_x86-64/uno2cpp.cxx
+++ b/main/bridges/source/cpp_uno/msvc_win64_x86-64/uno2cpp.cxx
@@ -164,7 +164,7 @@ static void cpp_call(
 				// no longer needed
 				TYPELIB_DANGER_RELEASE( pParamTypeDescr );
 			}
-			*pStack++ = *(sal_uInt64*)&pCppArgs[nPos];			
+			*pStack++ = (sal_uInt64)pCppArgs[nPos];
 		}
 	}