diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:00:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:19 +0100 |
commit | e97b3272668ecbe5454ffc7f394680dbcae27395 (patch) | |
tree | e4a36cfa4b270196e6b65ace1d40c26a89ec8dee /cppuhelper/source/macro_expander.cxx | |
parent | 1777f6fedbd59b440e06c17f90842a2c2b5e349c (diff) |
Clean up C-style casts from pointers to void
Change-Id: I92c0a6c602e473b796df43b88c98b823de8d9399
Diffstat (limited to 'cppuhelper/source/macro_expander.cxx')
-rw-r--r-- | cppuhelper/source/macro_expander.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx index 857e62d02dad..dc610a4ddc88 100644 --- a/cppuhelper/source/macro_expander.cxx +++ b/cppuhelper/source/macro_expander.cxx @@ -68,7 +68,7 @@ Bootstrap const & get_unorc() s_bstrap = bstrap; } } - return *(Bootstrap const *)&s_bstrap; + return *reinterpret_cast<Bootstrap const *>(&s_bstrap); } } |