mirror of https://github.com/redis/redis.git
Change `val` to `unsigned char` before being tested. The fix is identical to the one that's been made in upstream jemalloc. warning is: src/malloc_io.c: In function ‘malloc_vsnprintf’: src/malloc_io.c:369:2: warning: case label value exceeds maximum value for type 369 | case '?' | 0x80: \ | ^~~~ src/malloc_io.c:581:5: note: in expansion of macro ‘GET_ARG_NUMERIC’ 581 | GET_ARG_NUMERIC(val, 'p'); | ^~~~~~~~~~~~~~~ |
||
---|---|---|
.. | ||
arena.c | ||
background_thread.c | ||
base.c | ||
bin.c | ||
bitmap.c | ||
ckh.c | ||
ctl.c | ||
div.c | ||
extent.c | ||
extent_dss.c | ||
extent_mmap.c | ||
hash.c | ||
hooks.c | ||
jemalloc.c | ||
jemalloc_cpp.cpp | ||
large.c | ||
log.c | ||
malloc_io.c | ||
mutex.c | ||
mutex_pool.c | ||
nstime.c | ||
pages.c | ||
prng.c | ||
prof.c | ||
rtree.c | ||
stats.c | ||
sz.c | ||
tcache.c | ||
ticker.c | ||
tsd.c | ||
witness.c | ||
zone.c |