diff options
Diffstat (limited to 'runtime/utf.h')
| -rw-r--r-- | runtime/utf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/utf.h b/runtime/utf.h index 03158c492d..4abd605f5a 100644 --- a/runtime/utf.h +++ b/runtime/utf.h @@ -85,8 +85,8 @@ int32_t ComputeUtf16Hash(mirror::CharArray* chars, int32_t offset, size_t char_c int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count); // Compute a hash code of a modified UTF-8 string. Not the standard java hash since it returns a -// size_t and hashes individual chars instead of codepoint words. -size_t ComputeModifiedUtf8Hash(const char* chars); +// uint32_t and hashes individual chars instead of codepoint words. +uint32_t ComputeModifiedUtf8Hash(const char* chars); /* * Retrieve the next UTF-16 character or surrogate pair from a UTF-8 string. |