Fix a few "implicit conversion" warnings in to_number
[why]
Compiling with -Wshadow reveals several implicit conversions.
[how]
In these cases, the conversions actually appear to be fine because appropriate checks are done before. Therefore, adding a few static_casts is enough to fix the warnings.
Fix a few "implicit conversion" warnings in
to_number
[why] Compiling with -Wshadow reveals several implicit conversions.
[how] In these cases, the conversions actually appear to be fine because appropriate checks are done before. Therefore, adding a few static_casts is enough to fix the warnings.