Re: [Qemu-devel] [PATCH] milkymist-pfpu: fix potential integer overflow

2016-10-15 Thread Michael Tokarev
14.10.2016 12:51, Michael Walle wrote: Since the lm32 is a 32 bit architecture, just return a 32 bit value which is then converted to a 64 bit value. Spotted by coverity, CID 1005506. Applied to -trivial, thank you! /mjt

[Qemu-devel] [PATCH] milkymist-pfpu: fix potential integer overflow

2016-10-14 Thread Michael Walle
Since the lm32 is a 32 bit architecture, just return a 32 bit value which is then converted to a 64 bit value. Spotted by coverity, CID 1005506. Signed-off-by: Michael Walle --- hw/misc/milkymist-pfpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git