aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tpncp.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-11 20:19:52 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2008-07-11 20:19:52 +0000
commit6fc0b32373e10afe2a8017b3ee98b367c3f83a65 (patch)
treee73c4eead080ec08f0410f61237d47d27caf7f46 /epan/dissectors/packet-tpncp.c
parent226787656878a86565730c0c1f6675ff04a1697d (diff)
Fix a couple gint/guint mismatches
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25715 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tpncp.c')
-rw-r--r--epan/dissectors/packet-tpncp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tpncp.c b/epan/dissectors/packet-tpncp.c
index 8b00925738..28676550b8 100644
--- a/epan/dissectors/packet-tpncp.c
+++ b/epan/dissectors/packet-tpncp.c
@@ -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, guint *offset) {
+ proto_item *item, gint *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, guint *offset) {
+ proto_item *item, gint *offset) {
switch (command_id) {
/* Place non-standard commands here. */
default:
@@ -360,7 +360,7 @@ static void dissect_tpncp_command(gint command_id, tvbuff_t *tvb,
static void dissect_tpncp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) {
proto_item *item = NULL, *tpncp_item = NULL;
proto_tree *tpncp_tree = NULL;
- guint offset = 0;
+ gint offset = 0;
guint32 id, cid = 0;
guint16 seq_number, len, ver, reserved;
gchar *tpncp_header = NULL;