Fix index type for cache_bin_alloc_easy.

This commit is contained in:
Qi Wang 2019-08-30 11:54:35 -07:00 committed by Qi Wang
parent 2abb02ecd7
commit 23dc7a7fba

View File

@ -187,7 +187,7 @@ cache_bin_array_descriptor_init(cache_bin_array_descriptor_t *descriptor,
}
JEMALLOC_ALWAYS_INLINE void *
cache_bin_alloc_easy(cache_bin_t *bin, bool *success, cache_bin_sz_t ind) {
cache_bin_alloc_easy(cache_bin_t *bin, bool *success, szind_t ind) {
/*
* This may read from the empty position; however the loaded value won't
* be used. It's safe because the stack has one more slot reserved.