From de0ef67cf2de1132232043dd887101504cdfee48 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Wed, 19 Apr 2023 23:06:23 +0200 Subject: [PATCH] Fix build issue with VC++ --- m-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-tree.h b/m-tree.h index 706d8ebb..f226ceda 100644 --- a/m-tree.h +++ b/m-tree.h @@ -847,7 +847,7 @@ typedef int32_t m_tr33_index_t; } else { \ if (M_UNLIKELY(it.index == it.tree->root_index)) { \ /* complex case. Swap root with its first child */ \ - it_t it_child = {.tree = it.tree, .index = child }; \ + it_t it_child = { it.tree, child }; \ M_C(name, _swap_at)(it, it_child, false); \ parent = it.tree->tab[it.index].parent; \ child = it.tree->tab[it.index].child; \