diff options
author | AndersBroman <anders.broman@ericsson.com> | 2017-02-07 17:15:17 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-02-07 17:55:46 +0000 |
commit | 6d08a0e4c7f2c4c9ec10bca8a3d02c9442e5f8d9 (patch) | |
tree | bce6806c2d897958066e44baa0356f11cac31877 /epan/dissectors/packet-h248_annex_c.c | |
parent | 829b68115132ca74acc85b7ce34dc748bcdca96d (diff) | |
download | wireshark-6d08a0e4c7f2c4c9ec10bca8a3d02c9442e5f8d9.tar.gz |
[H248 Annex C] hf variable imported from packet-sdp,c is uint16 not int
Change-Id: I8122a88b9b203b9535e8f69f8b71d2e11dc7dac6
Reviewed-on: https://code.wireshark.org/review/19988
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-h248_annex_c.c')
-rw-r--r-- | epan/dissectors/packet-h248_annex_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h248_annex_c.c b/epan/dissectors/packet-h248_annex_c.c index 83f2406683..1ce6c77b41 100644 --- a/epan/dissectors/packet-h248_annex_c.c +++ b/epan/dissectors/packet-h248_annex_c.c @@ -867,7 +867,7 @@ static void dissect_h248_annexc_SDP_M(proto_tree* tree, tvbuff_t* tvb, packet_in gint32 port = -1; gboolean port_valid; port_valid = ws_strtoi32(port_str, NULL, &port); - ti = proto_tree_add_int(tree, hf_h248_sdp_media_port, param_tvb, offset, tokenlen, port); + ti = proto_tree_add_uint(tree, hf_h248_sdp_media_port, param_tvb, offset, tokenlen, port); PROTO_ITEM_SET_GENERATED(ti); if (!port_valid) proto_tree_add_expert(tree, pinfo, &ei_h248_sdp_media_port_invalid, param_tvb, offset, |