On 5/25/21 3:44 PM, Peter Maydell wrote: > Coverity points out that we calculate a 64-bit value using 32-bit > arithmetic; add the cast to force the multiply to be done as 64-bits. > (The overflow will never happen with the current test data.) > > Fixes: Coverity CID 1432320 > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > tests/qtest/pflash-cfi02-test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>