diff options
| author | 2022-03-25 20:38:41 +0000 | |
|---|---|---|
| committer | 2022-03-25 20:56:31 +0000 | |
| commit | e658d330c5c2aac5682e528bef3a373dc21b7aa9 (patch) | |
| tree | ee49e81e5fc27c667abd1b8dbbd49b393c90a33d /libs/ui/DynamicDisplayInfo.cpp | |
| parent | 9146157b642fb149697dfea3727f64ad27a9fe8f (diff) | |
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
Diffstat (limited to 'libs/ui/DynamicDisplayInfo.cpp')
0 files changed, 0 insertions, 0 deletions