RTPS: Fix call to unsigned field for locator port

This commit is contained in:
Martin Mathieson 2021-04-05 19:53:14 +01:00
parent df5e4fe9aa
commit e06940d5a6
1 changed files with 1 additions and 1 deletions

View File

@ -3315,7 +3315,7 @@ static int rtps_util_add_multichannel_locator_list(proto_tree *tree, packet_info
continue;
break;
}
ti = proto_tree_add_item_ret_int(locator_item_tree, hf_rtps_locator_port, tvb, offset + 20, 4, encoding, &port);
ti = proto_tree_add_item_ret_uint(locator_item_tree, hf_rtps_locator_port, tvb, offset + 20, 4, encoding, &port);
if (port == 0)
expert_add_info(pinfo, ti, &ei_rtps_locator_port);
proto_item_append_text(tree, " (%s, %s:%d)",