From 23dc7a7fba904d3893c0f335dfc2d16439b7109c Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 30 Aug 2019 11:54:35 -0700 Subject: [PATCH] Fix index type for cache_bin_alloc_easy. --- include/jemalloc/internal/cache_bin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jemalloc/internal/cache_bin.h b/include/jemalloc/internal/cache_bin.h index 7ec1ccbf..0ce3cab3 100644 --- a/include/jemalloc/internal/cache_bin.h +++ b/include/jemalloc/internal/cache_bin.h @@ -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.