diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-12 09:02:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-12 09:03:38 +0200 |
commit | d1ffad798379449074d31b45c76f9570ca054f1f (patch) | |
tree | 6592d6dadd6bbf013a6d587bffaad35d1d007a59 | |
parent | 4eb1232fbcf928e90267318e281aea5e8c9de6db (diff) |
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
-rw-r--r-- | cppu/source/uno/destr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx index ec73ff0a7172..f3bc26ff3927 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: |