commit | 08607dcb2119d45381579682f1531e487c9414ad | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Apr 20 18:10:50 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Apr 21 11:11:46 2017 -0700 |
tree | 8b13432a48ea8ee2f4ca2166d8a9b9b87a9922e3 | |
parent | 686f611ebbfe93a85a77cbfa016c13df2b5e4eb4 [diff] |
Fix wrapPassthrough casts to the wrong type. wrapPassthrough should cast to IType *, not IBase *, for the incoming pointer. Also, use static_cast instead of reinterpret_cast everywhere. Bug: 37542631 Bug: 36225019 Test: hidl_test Change-Id: Ifc3455b2313ea3cdf765e8959707b08a4a8ff101