aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-m3ua.c
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-27 13:17:20 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-12-27 13:17:20 +0000
commit9d37f5e64ea64875cac20559647d4bc3563af8b8 (patch)
treecb0e1931e752011ec75e1ca9a62b95f9441d528a /epan/dissectors/packet-m3ua.c
parent3879df4ca64820d645daddcd89d24d11baad467e (diff)
Again, some warnings removed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12842 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-m3ua.c')
-rw-r--r--epan/dissectors/packet-m3ua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-m3ua.c b/epan/dissectors/packet-m3ua.c
index 6a205fa725..d5b40e0298 100644
--- a/epan/dissectors/packet-m3ua.c
+++ b/epan/dissectors/packet-m3ua.c
@@ -311,7 +311,7 @@ typedef enum {
M3UA_RFC
} Version_Type;
-static Version_Type version = M3UA_RFC;
+static gint version = M3UA_RFC;
static void
dissect_parameters(tvbuff_t *, packet_info *, proto_tree *, proto_tree *);
@@ -1983,7 +1983,7 @@ proto_register_m3ua(void)
/* Register the protocol name and description */
proto_m3ua = proto_register_protocol("MTP 3 User Adaptation Layer", "M3UA", "m3ua");
m3ua_module = prefs_register_protocol(proto_m3ua, NULL);
- prefs_register_enum_preference(m3ua_module, "version", "M3UA Version", "Version used by Ethereal", (gint *)&version, options, FALSE);
+ prefs_register_enum_preference(m3ua_module, "version", "M3UA Version", "Version used by Ethereal", &version, options, FALSE);
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_m3ua, hf, array_length(hf));