[PATCH libdrm 3/9] tests/hash: misc compilation fixes

2015-03-23 Thread Jan Vesely
On Sun, 2015-03-22 at 22:03 +, Emil Velikov wrote: > 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 HashL

[PATCH libdrm 3/9] tests/hash: misc compilation fixes

2015-03-22 Thread Emil Velikov
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). Signed-off-by: Emil Velikov --- tests/hash.c | 31 ++