Fix implicit loss of precision to be explicit.

- Squelch a warning.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>
Merge branch 'master' into integration

* master:
  Fix implicit loss of precision to be explicit.