aboutsummaryrefslogtreecommitdiffstats
path: root/packet-per.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-16 20:58:03 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-16 20:58:03 +0000
commit2769961d3804a5a8cf7ec77f8b056e383df7249b (patch)
tree5ec6afb5e79fc3de1f375288bc983a1b23e74248 /packet-per.c
parent55e5bb39e9999cf2fba69099cc40f6908b8b2ba9 (diff)
downloadwireshark-2769961d3804a5a8cf7ec77f8b056e383df7249b.tar.gz
wireshark-2769961d3804a5a8cf7ec77f8b056e383df7249b.tar.bz2
wireshark-2769961d3804a5a8cf7ec77f8b056e383df7249b.zip
Squelch a signed vs. unsigned comparison complaint.
svn path=/trunk/; revision=10075
Diffstat (limited to 'packet-per.c')
-rw-r--r--packet-per.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-per.c b/packet-per.c
index 6de16327bc..313bade1d0 100644
--- a/packet-per.c
+++ b/packet-per.c
@@ -7,7 +7,7 @@ proper helper routines
* Routines for dissection of ASN.1 Aligned PER
* 2003 Ronnie Sahlberg
*
- * $Id: packet-per.c,v 1.24 2004/02/16 18:31:39 sahlberg Exp $
+ * $Id: packet-per.c,v 1.25 2004/02/16 20:58:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1315,7 +1315,8 @@ DEBUG_ENTRY("dissect_per_bit_string");
/* 15.9 if length is fixed and less than or equal to sixteen bits*/
if((min_len==max_len)&&(max_len<=16)){
static char bytes[4];
- guint32 i, old_offset=offset;
+ int i;
+ guint32 old_offset=offset;
gboolean bit;
bytes[0]=bytes[1]=bytes[2]=0;