aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-07-10 18:43:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-08-01 16:48:50 +0100
commite7b77e681f8ecf7d9360e47243f7c1a0fb88f51c (patch)
treeaff45696799ceaad20b2b9826301c9ac6e0e8f9c /hw/avr/arduino.c
parentb10bd4bd17ac8628ede8735a08ad82dc3b721c64 (diff)
downloadqemu-e7b77e681f8ecf7d9360e47243f7c1a0fb88f51c.zip
qemu-e7b77e681f8ecf7d9360e47243f7c1a0fb88f51c.tar.gz
qemu-e7b77e681f8ecf7d9360e47243f7c1a0fb88f51c.tar.bz2
hw/display/framebuffer: Add cast to force 64x64 multiply
In framebuffer_update_display(), Coverity complains because we multiply two values of type 'int' (which will be done as a 32x32 multiply and so in theory might overflow) and then add the result to a ram_addr_t, which can be 64 bits. 4GB framebuffers are not plausible anyway, but keep Coverity happy by adding casts which force these multiplies to be done as 64x64. Coverity: CID 1487248 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Message-id: 20250710174312.1313177-1-peter.maydell@linaro.org
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions