Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e658d330 authored by Frederick Mayle's avatar Frederick Mayle
Browse files

binder: Don't use reinterpret_cast to down cast

In general, reinterpret_cast could do the wrong thing, e.g. if a class
derived from Parcelable and added more virtual methods, then the
pointer value needs to be adjusted when down casting.

Test: TH
Change-Id: I0d808cafa7501e9d03b83a03d1de9219bc672912
parent 9146157b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment