-
Philip Withnall authored
Rather than prefixing unsigned numbers with unary minus operators and expecting the implicit cast to carry the correct value through, add an explicit cast to a signed type before the unary minus is applied. In all four cases, an overflow check has already been done. Signed-off-by: Philip Withnall <withnall@endlessm.com> #1655
e3e4a097