diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-22 19:58:17 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-04-05 15:19:47 +0100 |
commit | c53da3ac57aa646936492199f4fabc9f373f57bc (patch) | |
tree | baab4170fc38d7e3d07076a2fa5716b965ad4b06 /freedreno/kgsl/kgsl_priv.h | |
parent | 79f9cf3eb78a4feebda167ad4a3475ee1f2aa067 (diff) |
tests/hash: misc compilation fixes
Get the test from completely broken to working like a charm.
- Use the same variable type for both HashInsert and HashLookup.
- Use correct storage type for the HashLookup return value.
- Remove useless backward iteration of HashLookup(i).
v2:
- Use void * instead of unsigned long.
- Change value to key << 16 | key.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Diffstat (limited to 'freedreno/kgsl/kgsl_priv.h')
0 files changed, 0 insertions, 0 deletions