From e28d3fee51840ae6f8bca4d31c35442ff7b0ff9b Mon Sep 17 00:00:00 2001
From: Grzegorz Brzezinski <grzegorz.brzezinski@intel.com>
Date: Wed, 8 May 2019 13:42:08 +0200
Subject: [PATCH] jemalloc: fix build with gcc-9.1

---
 src/jemalloc/src/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jemalloc/src/util.c b/src/jemalloc/src/util.c
index 33331af..ad8fc2a 100644
--- a/src/jemalloc/src/util.c
+++ b/src/jemalloc/src/util.c
@@ -344,7 +344,7 @@ malloc_vsnprintf(char *str, size_t size, const char *format, va_list ap)
 	}								\
 } while (0)
 #define	GET_ARG_NUMERIC(val, len) do {					\
-	switch (len) {							\
+	switch ((int)len) {							\
 	case '?':							\
 		val = va_arg(ap, int);					\
 		break;							\
-- 
2.27.0

