Fix implicit loss of precision to be explicit.

- Squelch a warning.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>