Fix other warning for msys2

This commit is contained in:
Patrick Pelissier committed 2020-07-05 23:53:06 +02:00
1 parent 71cec5155a
commit 690b7bf9c1
1 file changed
+1 -1
+1 -1
View File
@@ -460,7 +460,7 @@ M_BEGIN_PROTECTED_CODE
M_C(name, _init)(M_C(name, _t) mem, m_gc_t gc_mem, \ M_C(name, _init)(M_C(name, _t) mem, m_gc_t gc_mem, \
unsigned init_node_count, unsigned init_group_count) \ unsigned init_node_count, unsigned init_group_count) \
{ \ { \
const unsigned long max_thread = gc_mem->max_thread; \ const size_t max_thread = gc_mem->max_thread; \
/* Initialize the thread data of the mempool */ \ /* Initialize the thread data of the mempool */ \
mem->thread_data = M_MEMORY_REALLOC(M_C(name, _lfmp_thread_t), NULL, max_thread); \ mem->thread_data = M_MEMORY_REALLOC(M_C(name, _lfmp_thread_t), NULL, max_thread); \
if (mem->thread_data == NULL) { \ if (mem->thread_data == NULL) { \