mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 04:53:35 +08:00
clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast
This commit is contained in:
@@ -214,7 +214,7 @@ RCInput::cycle_trampoline_init(void *arg)
|
||||
void
|
||||
RCInput::cycle_trampoline(void *arg)
|
||||
{
|
||||
RCInput *dev = reinterpret_cast<RCInput *>(arg);
|
||||
RCInput *dev = static_cast<RCInput *>(arg);
|
||||
dev->cycle();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user