forked from osmocom/wireshark
fixed some warning: comparison between signed and unsigned
svn path=/trunk/; revision=3657
This commit is contained in:
parent
8127f13e9f
commit
7ad33a9836
|
@ -2,7 +2,7 @@
|
||||||
* Routines for x25 packet disassembly
|
* Routines for x25 packet disassembly
|
||||||
* Olivier Abad <oabad@cybercable.fr>
|
* Olivier Abad <oabad@cybercable.fr>
|
||||||
*
|
*
|
||||||
* $Id: packet-x25.c,v 1.49 2001/06/18 02:17:54 guy Exp $
|
* $Id: packet-x25.c,v 1.50 2001/07/05 22:10:09 oabad Exp $
|
||||||
*
|
*
|
||||||
* Ethereal - Network traffic analyzer
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@zing.org>
|
* By Gerald Combs <gerald@zing.org>
|
||||||
|
@ -1288,7 +1288,7 @@ x25_ntoa(proto_tree *tree, int *offset, tvbuff_t *tvb,
|
||||||
static int
|
static int
|
||||||
get_x25_pkt_len(tvbuff_t *tvb)
|
get_x25_pkt_len(tvbuff_t *tvb)
|
||||||
{
|
{
|
||||||
int length, called_len, calling_len, dte_len, dce_len;
|
guint length, called_len, calling_len, dte_len, dce_len;
|
||||||
guint8 byte2, bytex;
|
guint8 byte2, bytex;
|
||||||
|
|
||||||
byte2 = tvb_get_guint8(tvb, 2);
|
byte2 = tvb_get_guint8(tvb, 2);
|
||||||
|
@ -1387,8 +1387,8 @@ dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
||||||
{
|
{
|
||||||
proto_tree *x25_tree=0, *gfi_tree=0;
|
proto_tree *x25_tree=0, *gfi_tree=0;
|
||||||
proto_item *ti;
|
proto_item *ti;
|
||||||
int localoffset=0;
|
guint localoffset=0;
|
||||||
int x25_pkt_len;
|
guint x25_pkt_len;
|
||||||
int modulo;
|
int modulo;
|
||||||
guint16 vc;
|
guint16 vc;
|
||||||
dissector_handle_t dissect;
|
dissector_handle_t dissect;
|
||||||
|
|
Loading…
Reference in New Issue