commit | c6828626a33992288943cdf363b997d540289638 | [log] [tgz] |
---|---|---|
author | Florian Hahn <florian_hahn@apple.com> | Mon Mar 28 17:22:07 2022 |
committer | Florian Hahn <florian_hahn@apple.com> | Mon Mar 28 17:22:07 2022 |
tree | 7261535442bf7648d4b2407ac4e460ff7ff133c6 | |
parent | 9d37c04e31a96c7fbe15ae35bc110503ea9b39f4 [diff] |
[SingleSource] Don't instantiate uniform distribution with char. As @Kai pointed out post-commit, instantiating std::uniform_int_distribution with char is UB. To avoid this, use the widest type the test uses (uint64_t) and convert to smaller values as needed.