summaryrefslogtreecommitdiff
path: root/runtime/utf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/utf.cc')
-rw-r--r--runtime/utf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utf.cc b/runtime/utf.cc
index 5ec2ea1c36..e48d6d2093 100644
--- a/runtime/utf.cc
+++ b/runtime/utf.cc
@@ -68,7 +68,7 @@ void ConvertUtf16ToModifiedUtf8(char* utf8_out, const uint16_t* utf16_in, size_t
}
}
-int32_t ComputeUtf16Hash(const mirror::CharArray* chars, int32_t offset,
+int32_t ComputeUtf16Hash(mirror::CharArray* chars, int32_t offset,
size_t char_count) {
int32_t hash = 0;
for (size_t i = 0; i < char_count; i++) {