summaryrefslogtreecommitdiff
path: root/rsc/source/rsc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:05:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:24 +0100
commitcf54f2a10f128cf5d79397911b5be710e7081963 (patch)
treecbaf1036cfca3572cb5d7b1df7c2f46de99168cb /rsc/source/rsc
parentd963fd84256081ce6a2e0ab1e9c0516cfb0b38b9 (diff)
Clean up C-style casts from pointers to void
Change-Id: I85d6761e72ba2f67a1d67a94cae674cbb271b43f
Diffstat (limited to 'rsc/source/rsc')
-rw-r--r--rsc/source/rsc/rsc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index ed4b4470b603..7ee853254c77 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -91,7 +91,7 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
pEH->FatalError( ERR_OPENFILE, RscId(), pStr );
/* check the inputted switches */
- ppStr = (char **)aCmdLine.GetBlock();
+ ppStr = reinterpret_cast<char **>(aCmdLine.GetBlock());
ppStr++;
i = 1;
while( ppStr && i < (aCmdLine.GetCount() -1) )