From a594b55ea532be602787147921f6f205bf36f66d Mon Sep 17 00:00:00 2001 From: Sher Sun Date: Tue, 30 Apr 2024 20:10:55 +0000 Subject: [PATCH] fix Signed-off-by: Sher Sun --- src/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.c b/src/server.c index 3702b3bc17..0d5280521d 100644 --- a/src/server.c +++ b/src/server.c @@ -5682,7 +5682,7 @@ sds genRedisInfoString(dict *section_dict, int all_sections, int everything) { long long memory_lua = evalMemory(); long long memory_functions = functionsMemory(); struct serverMemOverhead *mh = getMemoryOverheadData(); - char mem_allocator[64] = ZMALLOC_LIB; + unsigned char mem_allocator[64] = ZMALLOC_LIB; /* Peak memory is updated from time to time by serverCron() so it * may happen that the instantaneous value is slightly bigger than