summaryrefslogtreecommitdiff
path: root/rsc/source/parser/rsclex.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-19 15:30:28 +0200
committerNoel Grandin <noel@peralex.com>2014-09-29 12:50:34 +0200
commit6129aea3a5bad629a108363f3a7fbf135e796092 (patch)
tree63689027c36ef35d2bac083960246e865efcc1f8 /rsc/source/parser/rsclex.cxx
parent26f2da07b1c6074e519d28557a3d1d5518ff6cb4 (diff)
loplugin: cstylecast
Change-Id: I20eb45dda584c1c3a2e5d72425e49627fb7c3866
Diffstat (limited to 'rsc/source/parser/rsclex.cxx')
-rw-r--r--rsc/source/parser/rsclex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 098308521f81..858ee84a0e17 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -240,7 +240,7 @@ int MakeToken( YYSTYPE * pTokenVal )
switch( aKey.nTyp )
{
case CLASSNAME:
- pTokenVal->pClass = (RscTop *)aKey.yylval;
+ pTokenVal->pClass = reinterpret_cast<RscTop *>(aKey.yylval);
break;
case VARNAME:
pTokenVal->varid = aKey.nName;