Merge "Cast hidl_pointer<T> to void*."

This commit is contained in:
Martijn Coenen 2016-11-18 08:03:38 +00:00 committed by Gerrit Code Review
commit 6033952ff1

View file

@ -154,7 +154,7 @@ Return<void> Bar::thisIsNew() {
}
Return<void> Bar::expectNullHandle(const native_handle_t* h, const Abc& xyz, expectNullHandle_cb _hidl_cb) {
ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h, xyz.z);
ALOGI("SERVER(Bar) h = %p, xyz.z = %p", h, static_cast<void*>(xyz.z));
_hidl_cb(h == nullptr, xyz.z == nullptr);
return Void();
}