summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-text-media.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-text-media.c')
-rw-r--r--epan/dissectors/packet-text-media.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-text-media.c b/epan/dissectors/packet-text-media.c
index 1a40eb99..4dbc790d 100644
--- a/epan/dissectors/packet-text-media.c
+++ b/epan/dissectors/packet-text-media.c
@@ -33,10 +33,10 @@ void proto_register_text_lines(void);
void proto_reg_handoff_text_lines(void);
/* Filterable header fields */
-static gint proto_text_lines = -1;
+static int proto_text_lines;
/* Subtrees */
-static gint ett_text_lines = -1;
+static int ett_text_lines;
/* Dissector handles */
static dissector_handle_t xml_handle;
@@ -46,8 +46,8 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
{
proto_tree *subtree;
proto_item *ti;
- gint offset = 0, next_offset;
- gint len;
+ int offset = 0, next_offset;
+ int len;
media_content_info_t *content_info;
const char *data_name;
int length = tvb_captured_length(tvb);
@@ -90,7 +90,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
data_name);
if (tree) {
- guint lines_read = 0;
+ unsigned lines_read = 0;
ti = proto_tree_add_item(tree, proto_text_lines,
tvb, 0, -1, ENC_NA);
if (data_name)
@@ -107,7 +107,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
* as "iso-10646-ucs-2", or might require other
* special processing.
*/
- len = tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE);
+ len = tvb_find_line_end(tvb, offset, -1, &next_offset, false);
if (len == -1)
break;
@@ -128,7 +128,7 @@ dissect_text_lines(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
void
proto_register_text_lines(void)
{
- static gint *ett[] = {
+ static int *ett[] = {
&ett_text_lines,
};