commit | 81e25c13192462a60eda925413302d0f8c6a936e | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Apr 20 18:10:50 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Apr 20 18:26:11 2017 -0700 |
tree | b987c3201530d19a56ba48dd7ab2ff30257d11a4 | |
parent | d42aa7086b6de6c93c44dcac4bba525d2f72607b [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