diff --git a/orchagent/vnetorch.cpp b/orchagent/vnetorch.cpp index 564b87aecd78..a5d3b052d18b 100644 --- a/orchagent/vnetorch.cpp +++ b/orchagent/vnetorch.cpp @@ -103,7 +103,7 @@ bool VNetVrfObject::createObj(vector& attrs) sai_object_id_t router_id; if (vr_type != VR_TYPE::VR_INVALID && l_fn(router_id)) { - 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(vr_type), router_id); vr_ids_.insert(std::pair(vr_type, router_id)); } } diff --git a/orchagent/vxlanorch.cpp b/orchagent/vxlanorch.cpp index 66ae51fad101..9e05c6118cc1 100644 --- a/orchagent/vxlanorch.cpp +++ b/orchagent/vxlanorch.cpp @@ -82,7 +82,7 @@ create_tunnel_map(MAP_T map_t) if (map_t == MAP_T::MAP_TO_INVALID) { - SWSS_LOG_ERROR("Invalid map type %d", map_t); + SWSS_LOG_ERROR("Invalid map type %d", static_cast(map_t)); return SAI_NULL_OBJECT_ID; }