aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dns.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-06-18 01:49:17 +0000
committerGuy Harris <guy@alum.mit.edu>2001-06-18 01:49:17 +0000
commitb9222c0011e362d2ba9895af4eaef04a3d72c8c6 (patch)
tree9a0b0bdf0483f319fc5eb7a7a8af6a6d8c5bd2d3 /packet-dns.c
parentc8554ff99aa8c573adde8afd44edbbd1806c47df (diff)
Various signed vs. unsigned fixes, from Joerg Mayer.
svn path=/trunk/; revision=3560
Diffstat (limited to 'packet-dns.c')
-rw-r--r--packet-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dns.c b/packet-dns.c
index 0b3360cbcc..39f2fbe58b 100644
--- a/packet-dns.c
+++ b/packet-dns.c
@@ -1,7 +1,7 @@
/* packet-dns.c
* Routines for DNS packet disassembly
*
- * $Id: packet-dns.c,v 1.66 2001/04/23 18:05:18 guy Exp $
+ * $Id: packet-dns.c,v 1.67 2001/06/18 01:49:16 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -435,7 +435,7 @@ get_dns_name(const u_char *pd, int offset, int dns_data_offset,
int len = -1;
int chars_processed = 0;
int data_size = pi.len - dns_data_offset;
- u_int component_len;
+ int component_len;
maxname--; /* reserve space for the trailing '\0' */
for (;;) {