On 31 March 2017 at 14:27, Philippe Mathieu-Daudé <f4...@amsat.org> wrote: > Eduardo you seem skilled regarding Coccinelle scripts, is it possible to > write one to find those overflows?
This is the final one that Coverity reports on the current codebase. > Peter having one more macro might help or confuses more? > > #define MULTIPLY64(a32, b32) ((int64_t)a32 * b32) We've fixed them with casts generally in the past. thanks -- PMM