CLEANUP: cache: Use proper data types in secondary_key_cmp()
authorTim Duesterhus <tim@bastelstu.be>
Mon, 18 Jan 2021 12:41:18 +0000 (13:41 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 18 Jan 2021 14:01:46 +0000 (15:01 +0100)
commit5897cfe18e3fcead96255a1a62ef706b67adcf2c
tree451b5ff42098a4cbc21817542704d193ad6ca77a
parent1d66e396bf6aeb20635b4527feb03c835673ce80
CLEANUP: cache: Use proper data types in secondary_key_cmp()

- hash_length is `unsigned int` and so should offset.
- idx is compared to a `size_t` and thus it should also be.
src/cache.c