mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00: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