vec
vec copied to clipboard
Multiplication result may overflow
A multiplication result that is converted to a larger type can be a sign that the result can overflow the type converted from. Use a cast to ensure that the multiplication is done using the larger integer type to avoid overflow.