summary refs log tree commit diff stats
path: root/hw/core
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-02-03 18:59:31 +0000
committerMichael Tokarev <mjt@tls.msk.ru>2017-02-28 09:03:38 +0300
commitd000b477f2693dbca97cd8ea751c2e0b71890662 (patch)
tree96732b4782d25e6da5ee274edbc6b436512d9267 /hw/core
parent8dc52350f97ec7e2ce5d16c65021b5283f71b184 (diff)
downloadfocaccia-qemu-d000b477f2693dbca97cd8ea751c2e0b71890662.tar.gz
focaccia-qemu-d000b477f2693dbca97cd8ea751c2e0b71890662.zip
softfloat: Use correct type in float64_to_uint64_round_to_zero()
In float64_to_uint64_round_to_zero() a typo meant that we were
taking the uint64_t return value from float64_to_uint64() and
putting it into an int64_t variable before returning it as
uint64_t again. Use uint64_t instead of pointlessly casting it
back and forth to int64_t.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions