Commit 447cd0f7 authored by Igor Chorążewicz's avatar Igor Chorążewicz
Browse files

tests: fix overflow error in map helpers

Cast to unsigned was in wrong place. We casted result of assignemnt
which already overflowed which resulted in the follwowing error in
multiple radix tests under UBSAN:

"runtime error: signed integer overflow: 5 + 2147483647 cannot be
represented in type 'int'"
parent e3399221
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment