cppcheck old-style c cast
Development
1
Posts
1
Posters
4
Views
-
I'm working on updates to adapt the STM32 driver for the STM32WL series and using the tools from the Contribution Guide.
When committing, I get a lot of cppcheck errors in the existing code, mostly this one:warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast]I'm sure I could figure this out, but hate to mess with working code. What's the MySensors philosophy here? If I don't fix it now, how do you get thru the cppcheck to commit?
Thanks in advance for any advice. I mostly just write code for myself, so am a bit of a noob at contributing back.