cppu/source/uno/destr.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d1ffad798379449074d31b45c76f9570ca054f1f Author: Stephan Bergmann <[email protected]> Date: Mon Aug 12 09:02:09 2013 +0200 error: dereferencing type-punned pointer will break strict-aliasing rules gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3) Change-Id: I0b5809ec1dd3fb616bb7698972205a2810ed1aa5 diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx index ec73ff0..f3bc26f 100644 --- a/cppu/source/uno/destr.hxx +++ b/cppu/source/uno/destr.hxx @@ -167,7 +167,7 @@ inline void _destructAny( case typelib_TypeClass_SEQUENCE: { destructSequence( - *(uno_Sequence **) &pAny->pReserved, pType, 0, release ); + static_cast<uno_Sequence *>(pAny->pReserved), pType, 0, release ); break; } case typelib_TypeClass_INTERFACE: _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
