diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:04:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-28 19:09:21 +0100 |
commit | 0fc0c5d4b2122478fcecee830e1d8ffdcf71f9cb (patch) | |
tree | c5ac6ea1bb1bd519b5433fcc0e8d760a187beb96 /idl | |
parent | Clean up C-style casts from pointers to void (diff) | |
download | core-0fc0c5d4b2122478fcecee830e1d8ffdcf71f9cb.tar.gz core-0fc0c5d4b2122478fcecee830e1d8ffdcf71f9cb.zip |
Clean up C-style casts from pointers to void
Change-Id: I1d37ac19f2738a7bac43fc8b44f782ff2363123a
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/prj/globals.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx index f6dfeaf4188e..6786cbe82bfe 100644 --- a/idl/source/prj/globals.cxx +++ b/idl/source/prj/globals.cxx @@ -25,11 +25,11 @@ IdlDll * GetIdlApp() { - if( !(*(IdlDll**)GetAppData(SHL_IDL)) ) + if( !(*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))) ) { - (*(IdlDll**)GetAppData(SHL_IDL)) = new IdlDll(); + (*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))) = new IdlDll(); } - return (*(IdlDll**)GetAppData(SHL_IDL)); + return (*reinterpret_cast<IdlDll**>(GetAppData(SHL_IDL))); } IdlDll::IdlDll() |