commit | c53da3ac57aa646936492199f4fabc9f373f57bc | [log] [tgz] |
---|---|---|
author | Emil Velikov <emil.l.velikov@gmail.com> | Sun Mar 22 19:58:17 2015 +0000 |
committer | Emil Velikov <emil.l.velikov@gmail.com> | Sun Apr 05 15:19:47 2015 +0100 |
tree | baab4170fc38d7e3d07076a2fa5716b965ad4b06 | |
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>