The multiplication by 99 can overflow an int8_t depending on whether the expression is coerced to a regular-sized int (based on the 99 literal). Just to be safe, perform a cast to int16_t in case the coercion does not happen.pull/365/head
parent
04112de297
commit
77acd347e8
Loading…
Reference in new issue