summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2021-05-03 08:33:21 +0300
committerOran Agra <oran@redislabs.com>2021-05-03 18:59:47 +0300
commitfd7d51c353607f350c865155444bce9236f3d682 (patch)
tree37444197b342c7c21bde1c391eb142cda845bf48 /deps
parentf0c5f920d0f88bd8aa376a2c05af4902789d1ef9 (diff)
downloadredis-fd7d51c353607f350c865155444bce9236f3d682.tar.gz
Resolve nonsense static analysis warnings
Diffstat (limited to 'deps')
-rw-r--r--deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h
index 2685802b8..b19a94207 100644
--- a/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h
+++ b/deps/jemalloc/include/jemalloc/internal/jemalloc_internal_inlines_c.h
@@ -235,7 +235,7 @@ iget_defrag_hint(tsdn_t *tsdn, void* ptr) {
int free_in_slab = extent_nfree_get(slab);
if (free_in_slab) {
const bin_info_t *bin_info = &bin_infos[binind];
- int curslabs = bin->stats.curslabs;
+ unsigned long curslabs = bin->stats.curslabs;
size_t curregs = bin->stats.curregs;
if (bin->slabcur) {
/* remove slabcur from the overall utilization */