Homec4science

Use wider types to prevent unsigned overflow diagnostics

Authored by Alex Converse <aconverse@google.com> on Apr 11 2017, 19:20.

Description

Use wider types to prevent unsigned overflow diagnostics

The rest of the (covered) codebase is already integer overflow clean.
This is a cherry-pick of an internal change.

TESTED=gtest_shuffle_test goes from fail to pass with -fsanitize=integer

Details

Committed
Alex Converse <aconverse@google.com>Aug 3 2017, 23:12
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:50f3bafb1aef: Merge pull request #1172 from joelypoley/joelypoley-patch-1
Branches
Unknown
Tags
Unknown

Event Timeline

Alex Converse <aconverse@google.com> committed R9484:deb99a9d268b: Use wider types to prevent unsigned overflow diagnostics (authored by Alex Converse <aconverse@google.com>).Aug 3 2017, 23:12