abs() of unsigned int has no effect
Closed this issue · 0 comments
ltog commented
clang warns of usage of abs() for unsigned int values, e.g. here:
osmi-addresses/osmi/InterpolationWriter.hpp
Line 118 in 5c40589
Taking the difference of first and last might result in an underflow which won't be noticed by abs()...