aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-s5066.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2008-07-11 20:00:41 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2008-07-11 20:00:41 +0000
commit83b913dd135b2acc3199bf628fa38ff12ea617e8 (patch)
treefb96de2db54e3db5acd294df489e3092b82916b3 /epan/dissectors/packet-s5066.c
parent28426d27ff621085423d3574f7c8854efb799545 (diff)
prefs_register_uint_preference() takes a pointer to a guint, not a pointer to gint.
svn path=/trunk/; revision=25711
Diffstat (limited to 'epan/dissectors/packet-s5066.c')
-rw-r--r--epan/dissectors/packet-s5066.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-s5066.c b/epan/dissectors/packet-s5066.c
index ccbccac4aa..224b9a8e27 100644
--- a/epan/dissectors/packet-s5066.c
+++ b/epan/dissectors/packet-s5066.c
@@ -83,7 +83,7 @@ static gboolean s5066_desegment = TRUE;
/* Dissect old 'edition 1' of STANAG 5066 (It lacks the 'version' field.) */
static gboolean s5066_edition_one = FALSE;
/* This port is registered with IANA */
-static gint global_s5066_port = 5066;
+static guint global_s5066_port = 5066;
/* Size of header outside 'size' field */
static gint s5066_header_size = 5;
/* Offset of 'size' field */
@@ -784,20 +784,20 @@ proto_register_s5066(void)
s5066_module = prefs_register_protocol(proto_s5066, proto_reg_handoff_s5066);
prefs_register_bool_preference(s5066_module, "desegment_pdus",
- "Reassemble S5066 PDUs spanning multiple TCP segments",
- "Whether the S5066 dissector should reassemble PDUs spanning multiple TCP segments."
- " The default is to use reassembly.",
- &s5066_desegment);
+ "Reassemble S5066 PDUs spanning multiple TCP segments",
+ "Whether the S5066 dissector should reassemble PDUs spanning multiple TCP segments."
+ " The default is to use reassembly.",
+ &s5066_desegment);
prefs_register_bool_preference(s5066_module, "edition_one",
- "Dissect edition 1.0 of STANAG 5066",
- "Whether the S5066 dissector should dissect editon 1 of the STANAG."
- " This editon was never formally approved and is very rare. The common edition is editon 1.2.",
- &s5066_edition_one);
+ "Dissect edition 1.0 of STANAG 5066",
+ "Whether the S5066 dissector should dissect editon 1 of the STANAG."
+ " This editon was never formally approved and is very rare. The common edition is editon 1.2.",
+ &s5066_edition_one);
prefs_register_uint_preference(s5066_module, "tcp.port",
- "STANAG 5066 TCP Port",
- "Set the port for STANAG 5066. (If other than the default 5066."
- " This number is registered with IANA.)",
- 10, &global_s5066_port);
+ "STANAG 5066 TCP Port",
+ "Set the port for STANAG 5066. (If other than the default 5066."
+ " This number is registered with IANA.)",
+ 10, &global_s5066_port);
}
void