diff options
Diffstat (limited to 'plugins/epan/wimax/wimax_ffb_decoder.c')
-rw-r--r-- | plugins/epan/wimax/wimax_ffb_decoder.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/epan/wimax/wimax_ffb_decoder.c b/plugins/epan/wimax/wimax_ffb_decoder.c index 8a9ccad3..661bee3d 100644 --- a/plugins/epan/wimax/wimax_ffb_decoder.c +++ b/plugins/epan/wimax/wimax_ffb_decoder.c @@ -19,23 +19,23 @@ #include <epan/packet.h> #include "wimax-int.h" -extern gint proto_wimax; +extern int proto_wimax; -static gint proto_wimax_ffb_decoder = -1; -static gint ett_wimax_ffb_decoder = -1; +static int proto_wimax_ffb_decoder; +static int ett_wimax_ffb_decoder; -/* static gint hf_ffb_burst = -1; */ -static gint hf_ffb_num_of_ffbs = -1; -static gint hf_ffb_type = -1; -static gint hf_ffb_subchannel = -1; -static gint hf_ffb_symboloffset = -1; -static gint hf_ffb_value = -1; +/* static int hf_ffb_burst; */ +static int hf_ffb_num_of_ffbs; +static int hf_ffb_type; +static int hf_ffb_subchannel; +static int hf_ffb_symboloffset; +static int hf_ffb_value; static int dissect_wimax_ffb_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { - gint offset = 0; - guint length, num_of_ffbs, i; + int offset = 0; + unsigned length, num_of_ffbs, i; proto_item *ffb_item = NULL; proto_tree *ffb_tree = NULL; @@ -50,7 +50,7 @@ static int dissect_wimax_ffb_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tr /* add Fast Feedback Burst subtree */ ffb_tree = proto_item_add_subtree(ffb_item, ett_wimax_ffb_decoder); /* get the number of FFBs */ - num_of_ffbs = tvb_get_guint8(tvb, offset); + num_of_ffbs = tvb_get_uint8(tvb, offset); /* display the number of FFBs */ proto_tree_add_item(ffb_tree, hf_ffb_num_of_ffbs, tvb, offset++, 1, ENC_BIG_ENDIAN); /* display the FFB type */ @@ -101,7 +101,7 @@ void wimax_proto_register_wimax_ffb(void) }; /* Setup protocol subtree array */ - static gint *ett[] = + static int *ett[] = { &ett_wimax_ffb_decoder, }; |