diff options
author | Ashok Bhat <ashok.bhat@arm.com> | 2014-02-07 16:31:41 +0000 |
---|---|---|
committer | David Butcher <david.butcher@arm.com> | 2014-02-07 19:10:04 +0000 |
commit | e9bea2a18201d079831750865ab1d013528d862a (patch) | |
tree | 3ce8760b0c6265626964bbf3621d782947f01db3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 449273e2d575041ffe1a5d435666d36923de888b (diff) |
Fix TinyHashMap to use generic hash_type instead of hash_t
TinyHashMap used hash_t(key) to generate hashcode. This
would not work for 64-bit pointers as hash_t is declared as
an uint32_t.
Replaced the hash_t(key) call to more generic android::hash_type(key).
This function is a template function declared in TypeHelpers.h and
has a version available for all data types including pointers.
Change-Id: I612cf18b49ca7c30b63f9d6938df68fed7d80d08
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions