diff --git a/mozilla/intl/locale/src/nsLocale.cpp b/mozilla/intl/locale/src/nsLocale.cpp index 15a5be43074..b3473028d22 100644 --- a/mozilla/intl/locale/src/nsLocale.cpp +++ b/mozilla/intl/locale/src/nsLocale.cpp @@ -104,7 +104,7 @@ nsLocale::Hash_HashFunction(const void* key) length = stringKey->Length(); for(length-=1;length>=0;length--) - hash += (PLHashNumber)((*stringKey)[length]); + hash += (PLHashNumber)stringKey->CharAt(length); return hash; }