commit | fdbc565dd5a4ce68303dc6d9eeef2f2c9387bd0f | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Mon Jul 13 23:31:45 2020 +0000 |
committer | Steven Moreland <smoreland@google.com> | Mon Jul 13 23:33:25 2020 +0000 |
tree | a4a09197cc30b7036fbdd5793f640f8eca377b25 | |
parent | c8e4154d899847a32f0fb7bbf999c39c7cb0dba7 [diff] |
String8: explicit int -> char cast. Since tolower/toupper take and return integer arguments, ascii chars in the extended range will be converted from positive int values to negative char values. In order to silence an error here, which was added recently with integer sanitization here, casting explicitly. Fixes: 160831549 Test: w/ libutils_fuzz_string8 Change-Id: Iedcd6643f95f84ce662a80e38931d918a200f508