Re: [Qemu-devel] [PATCH 2/2] cg3: add explicit ram_addr_t cast to scanline page variable

2017-05-01 Thread Philippe Mathieu-Daudé
On 05/01/2017 04:39 AM, Mark Cave-Ayland wrote: Coverity warns that multiplying two 32-bit values gives a 32-bit result which is assigned to a 64-bit variable. Add an explicit ram_addr_t cast to silence the warning. Signed-off-by: Mark Cave-Ayland Reviewed-by: Philippe Mathieu-Daudé --- h

[Qemu-devel] [PATCH 2/2] cg3: add explicit ram_addr_t cast to scanline page variable

2017-05-01 Thread Mark Cave-Ayland
Coverity warns that multiplying two 32-bit values gives a 32-bit result which is assigned to a 64-bit variable. Add an explicit ram_addr_t cast to silence the warning. Signed-off-by: Mark Cave-Ayland --- hw/display/cg3.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/d