nanoMODBUS
nanoMODBUS copied to clipboard
fix various clang warnings: implicit conversion looses integer precision
This PR fixes various warnings coming from clang compiler, related to implicit conversions from int to etiher uint16_t or uint8_t.
These warnings come from a platfrom where int is at least 32-bit wide.