diff --git a/debuggerd/libdebuggerd/test/UnwinderMock.h b/debuggerd/libdebuggerd/test/UnwinderMock.h index 023a57807..44a9214e5 100644 --- a/debuggerd/libdebuggerd/test/UnwinderMock.h +++ b/debuggerd/libdebuggerd/test/UnwinderMock.h @@ -34,7 +34,7 @@ class UnwinderMock : public unwindstack::Unwinder { unwindstack::MapInfo* map_info = GetMaps()->Find(offset); if (map_info != nullptr) { std::string* new_build_id = new std::string(build_id); - map_info->build_id = reinterpret_cast(new_build_id); + map_info->build_id = new_build_id; } } };