summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diffserv-mpls-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-diffserv-mpls-common.c')
-rw-r--r--epan/dissectors/packet-diffserv-mpls-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-diffserv-mpls-common.c b/epan/dissectors/packet-diffserv-mpls-common.c
index bbfde452..f4add8a4 100644
--- a/epan/dissectors/packet-diffserv-mpls-common.c
+++ b/epan/dissectors/packet-diffserv-mpls-common.c
@@ -45,12 +45,12 @@ const value_string phbid_bit15_vals[] = {
void
dissect_diffserv_mpls_common(tvbuff_t *tvb, proto_tree *tree, int type,
- int offset, int **hfindexes, gint **etts)
+ int offset, int **hfindexes, int **etts)
{
proto_item *ti = NULL, *sub_ti;
proto_tree *tree2 = NULL, *phbid_subtree;
int exp;
- guint16 phbid;
+ uint16_t phbid;
switch (type) {
case 1: /* E-LSP */
@@ -58,7 +58,7 @@ dissect_diffserv_mpls_common(tvbuff_t *tvb, proto_tree *tree, int type,
tree2 = proto_item_add_subtree(ti, ett_map);
proto_item_set_text(ti, "MAP: ");
offset ++;
- exp = tvb_get_guint8(tvb, offset) & 7;
+ exp = tvb_get_uint8(tvb, offset) & 7;
proto_tree_add_uint(tree2, hf_exp, tvb, offset, 1, exp);
proto_item_append_text(ti, "EXP %u, ", exp);
offset ++;