[Libreoffice-commits] core.git: bridges/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 21 20:03:17 UTC 2021
bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cd99b9fe6cec1fa14aba1d94228b17163cddd906
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 19 16:15:13 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Aug 21 22:02:43 2021 +0200
arm: nStackBytes was already the right amount of bytes
possible regression from...
commit 6e3424ca1131fe371f63e456267de476b5eb0eae
Date: Sat Jan 2 11:03:12 2021 +0100
Fix some warnings for Raspberry pi 4 (part2)
which changed that
Change-Id: I9a19d7d6bc1e4115ffffbe32d8d62be5d275d500
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120747
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: René Engelhard <rene at debian.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
index 8533415ed087..7a8adad90ead 100644
--- a/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_arm/uno2cpp.cxx
@@ -251,7 +251,7 @@ void callVirtualMethod(
{
// 8-bytes aligned
sal_uInt32 nStackBytes = ( ( nStack + 1 ) >> 1 ) * 8;
- sal_uInt32 *stack = static_cast<sal_uInt32 *>(__builtin_alloca( nStackBytes * sizeof(sal_uInt32)));
+ sal_uInt32 *stack = static_cast<sal_uInt32 *>(__builtin_alloca( nStackBytes ));
memcpy( stack, pStack, nStackBytes );
}
More information about the Libreoffice-commits
mailing list