summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:15:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:15:22 +0200
commitd2d04bd3a5e2f1d814e7b993a1169a597b5cff09 (patch)
tree053552330af0901bfa1943c97eb66fcda91353a2 /rsc/source/parser
parent201284cbb7a03ba5320d5aeba41473c25c8de2dd (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I5be4952b732eab9a32aeaee7eb45a68698be4ad2
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rsckey.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/parser/rsckey.cxx b/rsc/source/parser/rsckey.cxx
index 7b721bb0891b..a82ae3cb390e 100644
--- a/rsc/source/parser/rsckey.cxx
+++ b/rsc/source/parser/rsckey.cxx
@@ -118,7 +118,7 @@ bool RscNameTable::Get( Atom nName, KEY_STRUCT * pEle )
{
// Suche nach dem Schluesselwort
aSearchName.nName = nName;
- pKey = reinterpret_cast<KEY_STRUCT *>(bsearch(
+ pKey = static_cast<KEY_STRUCT *>(bsearch(
&aSearchName, pTable,
nEntries, sizeof( KEY_STRUCT ), KeyCompare ));
}