diff --git a/source/blender/depsgraph/intern/nodes/deg_node_id.cc b/source/blender/depsgraph/intern/nodes/deg_node_id.cc index caf7c8da3c1..5839cf11e67 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node_id.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node_id.cc @@ -230,7 +230,7 @@ IDComponentsMask IDDepsNode::get_visible_components_mask() const { if (comp_node->affects_directly_visible) { const int component_type = comp_node->type; BLI_assert(component_type < 64); - result |= (1 << component_type); + result |= (1UL << component_type); } } GHASH_FOREACH_END();