lint: implicit conversion loses integer precision