diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:12:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-31 13:12:15 +0200 |
commit | 26655d0909e649f7d7ceb5e5cbb9a26fdc6753b6 (patch) | |
tree | 5fa055094420ac0befb980af1ef8ab26a5873e44 /bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx | |
parent | 14a4390b8711f1c01d20b23f179a4c88db87e5b1 (diff) |
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I19b86fba87df57c4c65c658d051b664c527214eb
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx index bdcc8183f56a..36de6daa6f14 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx @@ -306,7 +306,7 @@ void x86_64::fill_struct( typelib_TypeDescriptionReference *pTypeRef, const sal_ n = classify_argument( pTypeRef, classes, 0 ); - sal_uInt64 *pStructAlign = reinterpret_cast<sal_uInt64 *>( pStruct ); + sal_uInt64 *pStructAlign = static_cast<sal_uInt64 *>( pStruct ); for ( n--; n >= 0; n-- ) switch ( classes[n] ) { |