clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast

This commit is contained in:
Daniel Agar
2019-10-27 19:15:56 -04:00
parent f5945d1185
commit 4192414576
16 changed files with 26 additions and 26 deletions

View File

@@ -164,7 +164,7 @@ void RcInput::stop()
void RcInput::cycle_trampoline(void *arg)
{
RcInput *dev = reinterpret_cast<RcInput *>(arg);
RcInput *dev = static_cast<RcInput *>(arg);
dev->_cycle();
}