We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dd37a4 commit 60a8a0dCopy full SHA for 60a8a0d
orchagent/vnetorch.cpp
@@ -103,7 +103,7 @@ bool VNetVrfObject::createObj(vector<sai_attribute_t>& attrs)
103
sai_object_id_t router_id;
104
if (vr_type != VR_TYPE::VR_INVALID && l_fn(router_id))
105
{
106
- SWSS_LOG_DEBUG("VNET vr_type %d router id %lx ", vr_type, router_id);
+ SWSS_LOG_DEBUG("VNET vr_type %d router id %lx ", static_cast<int>(vr_type), router_id);
107
vr_ids_.insert(std::pair<VR_TYPE, sai_object_id_t>(vr_type, router_id));
108
}
109
orchagent/vxlanorch.cpp
@@ -82,7 +82,7 @@ create_tunnel_map(MAP_T map_t)
82
83
if (map_t == MAP_T::MAP_TO_INVALID)
84
85
- SWSS_LOG_ERROR("Invalid map type %d", map_t);
+ SWSS_LOG_ERROR("Invalid map type %d", static_cast<int>(map_t));
86
return SAI_NULL_OBJECT_ID;
87
88
0 commit comments