diff --git a/source/blender/editors/interface/interface_templates.cc b/source/blender/editors/interface/interface_templates.cc index e4fdd431567..28b7059ebdf 100644 --- a/source/blender/editors/interface/interface_templates.cc +++ b/source/blender/editors/interface/interface_templates.cc @@ -401,7 +401,7 @@ static bool id_search_add(const bContext *C, TemplateID *template_ui, uiSearchIt name_ui, id, iconid, - has_sep_char ? UI_BUT_HAS_SEP_CHAR : 0, + has_sep_char ? int(UI_BUT_HAS_SEP_CHAR) : 0, name_prefix_offset)) { return false; } diff --git a/source/blender/nodes/geometry/node_geometry_tree.cc b/source/blender/nodes/geometry/node_geometry_tree.cc index 1339024b776..dbdbf1e616d 100644 --- a/source/blender/nodes/geometry/node_geometry_tree.cc +++ b/source/blender/nodes/geometry/node_geometry_tree.cc @@ -24,6 +24,8 @@ #include "node_common.h" +#include "node_geometry_register.hh" + bNodeTreeType *ntreeType_Geometry; static void geometry_node_tree_get_from_context(