homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 307 forks source link

lint: fix warning "Using C-style cast" #716

Closed bvp closed 3 years ago

bvp commented 3 years ago

In cpplint messages

src/Homie/Boot/BootNormal.cpp:995:  Using C-style cast.  Use static_cast<size_t>(...) instead  [readability/casting] [4]
src/Homie/Boot/BootNormal.cpp:999:  Using C-style cast.  Use static_cast<size_t>(...) instead  [readability/casting] [4]

I suggest using the recommendations

luebbe commented 3 years ago

closed by #717