mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 02:16:53 +08:00
clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast
This commit is contained in:
@@ -44,7 +44,7 @@ ScheduledWorkItem::~ScheduledWorkItem()
|
||||
void
|
||||
ScheduledWorkItem::schedule_trampoline(void *arg)
|
||||
{
|
||||
ScheduledWorkItem *dev = reinterpret_cast<ScheduledWorkItem *>(arg);
|
||||
ScheduledWorkItem *dev = static_cast<ScheduledWorkItem *>(arg);
|
||||
dev->ScheduleNow();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user