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

Commit 6033952f authored by Martijn Coenen's avatar Martijn Coenen Committed by Gerrit Code Review
Browse files

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

parents d5e70d7f 65c86c08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
}