Fix precision loss warning.