File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ bool VNetVrfObject::createObj(vector<sai_attribute_t>& attrs)
103
103
sai_object_id_t router_id;
104
104
if (vr_type != VR_TYPE::VR_INVALID && l_fn (router_id))
105
105
{
106
- SWSS_LOG_DEBUG (" VNET vr_type %d router id %lx " , vr_type, router_id);
106
+ SWSS_LOG_DEBUG (" VNET vr_type %d router id %lx " , static_cast < int >( vr_type) , router_id);
107
107
vr_ids_.insert (std::pair<VR_TYPE, sai_object_id_t >(vr_type, router_id));
108
108
}
109
109
}
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ create_tunnel_map(MAP_T map_t)
82
82
83
83
if (map_t == MAP_T::MAP_TO_INVALID)
84
84
{
85
- SWSS_LOG_ERROR (" Invalid map type %d" , map_t );
85
+ SWSS_LOG_ERROR (" Invalid map type %d" , static_cast < int >( map_t ) );
86
86
return SAI_NULL_OBJECT_ID;
87
87
}
88
88
You can’t perform that action at this time.
0 commit comments