commit | ca0f2dceb2ab4fdbebf9d2b75c774c363b4191b4 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Mon Dec 10 12:14:36 2018 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Mon Dec 10 15:14:40 2018 +0000 |
tree | a2d6822b068e29c2bab2edc643dd208206e2e77b | |
parent | b023b3fd99a3369479e965c8e5d1d79b2491f75d [diff] |
Fix ComputeModifiedUtf8Hash(). Explicitly cast the character to uint8_t so that we do not produce different results depending on whether the platform has a signed or unsigned char. Test: Additional test in utf_test. Bug: 120749178 Change-Id: Icf329baa9eb95c2db820b51873e72d95aabf398e