diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-07-11 20:19:52 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2008-07-11 20:19:52 +0000 |
commit | bde286846f5b4c4589cb8d9256a6282720e96086 (patch) | |
tree | e73c4eead080ec08f0410f61237d47d27caf7f46 /epan/dissectors | |
parent | 19446652832d5b8d914267d4fa472f4eae28646e (diff) | |
download | wireshark-bde286846f5b4c4589cb8d9256a6282720e96086.tar.gz wireshark-bde286846f5b4c4589cb8d9256a6282720e96086.tar.bz2 wireshark-bde286846f5b4c4589cb8d9256a6282720e96086.zip |
Fix a couple gint/guint mismatches
svn path=/trunk/; revision=25715
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-tpncp.c | 6 |
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; |