From d2d04bd3a5e2f1d814e7b993a1169a597b5cff09 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 31 Mar 2015 13:15:22 +0200 Subject: Reduce to static_cast any reinterpret_cast from void pointers Change-Id: I5be4952b732eab9a32aeaee7eb45a68698be4ad2 --- rsc/source/parser/rsckey.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsc/source') 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(bsearch( + pKey = static_cast(bsearch( &aSearchName, pTable, nEntries, sizeof( KEY_STRUCT ), KeyCompare )); } -- cgit