summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:04:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:21 +0100
commit0fc0c5d4b2122478fcecee830e1d8ffdcf71f9cb (patch)
treec5ac6ea1bb1bd519b5433fcc0e8d760a187beb96 /idl
parentf462f7b8a341c3252edfd7b4808e99c8e72244c4 (diff)
Clean up C-style casts from pointers to void
Change-Id: I1d37ac19f2738a7bac43fc8b44f782ff2363123a
Diffstat (limited to 'idl')
-rw-r--r--idl/source/prj/globals.cxx6
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()