diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-07 11:42:11 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-07 11:42:11 +0000 |
commit | 609bb570975ae71db1518e4d057718ffe1080227 (patch) | |
tree | e82eb816c9f50d056074c44dd705b946e04f7097 /epan/dissectors/packet-tpncp.c | |
parent | 73f45b105e88c73fff404191457c606d1e3b252b (diff) |
Corrected some types.
svn path=/trunk/; revision=24280
Diffstat (limited to 'epan/dissectors/packet-tpncp.c')
-rw-r--r-- | epan/dissectors/packet-tpncp.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-tpncp.c b/epan/dissectors/packet-tpncp.c index a121131e89..4b9e39473b 100644 --- a/epan/dissectors/packet-tpncp.c +++ b/epan/dissectors/packet-tpncp.c @@ -107,15 +107,15 @@ static gint proto_tpncp = -1, static gint ett_tpncp = -1, ett_tpncp_body = -1; -static gint global_tpncp_trunkpack_tcp_port = TCP_PORT_TPNCP_TRUNKPACK, - global_tpncp_trunkpack_udp_port = UDP_PORT_TPNCP_TRUNKPACK, - global_tpncp_host_tcp_port = TCP_PORT_TPNCP_HOST, - global_tpncp_host_udp_port = UDP_PORT_TPNCP_HOST; +static guint global_tpncp_trunkpack_tcp_port = TCP_PORT_TPNCP_TRUNKPACK, + global_tpncp_trunkpack_udp_port = UDP_PORT_TPNCP_TRUNKPACK, + global_tpncp_host_tcp_port = TCP_PORT_TPNCP_HOST, + global_tpncp_host_udp_port = UDP_PORT_TPNCP_HOST; -static gint trunkpack_tcp_port = 0, - trunkpack_udp_port = 0, - host_tcp_port = 0, - host_udp_port = 0; +static guint trunkpack_tcp_port = 0, + trunkpack_udp_port = 0, + host_tcp_port = 0, + host_udp_port = 0; static value_string tpncp_commands_id_vals[MAX_TPNCP_DB_SIZE]; static value_string tpncp_events_id_vals[MAX_TPNCP_DB_SIZE]; @@ -334,7 +334,7 @@ static void dissect_tpncp_data(gint data_id, tvbuff_t *tvb, proto_item *item, /*-------------------------------------------------------------------------------------------------------------------------------------------*/ static void dissect_tpncp_event(gint event_id, tvbuff_t *tvb, - proto_item *item, gint *offset) { + proto_item *item, guint *offset) { switch (event_id) { /* Place non-standard events here. */ default: @@ -346,7 +346,7 @@ static void dissect_tpncp_event(gint event_id, tvbuff_t *tvb, /*-------------------------------------------------------------------------------------------------------------------------------------------*/ static void dissect_tpncp_command(gint command_id, tvbuff_t *tvb, - proto_item *item, gint *offset) { + proto_item *item, guint *offset) { switch (command_id) { /* Place non-standard commands here. */ default: |