diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-03-07 07:34:15 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-03-07 07:34:15 +0000 |
commit | fedbba7368e1e7df8f69223615a272705e3db4c9 (patch) | |
tree | b225b4a1e8af42afaf7a98828acba7c31d08f5a2 /lib/libc/net | |
parent | 12fe975620ec388514ab46561cf3003206b7ab43 (diff) |
signed/unsigned mixup. KAME PR 469 by Olivier Courtay.
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/getrrsetbyname.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/net/getrrsetbyname.c b/lib/libc/net/getrrsetbyname.c index e4bd9a936ec..f00ac2b021d 100644 --- a/lib/libc/net/getrrsetbyname.c +++ b/lib/libc/net/getrrsetbyname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getrrsetbyname.c,v 1.6 2003/01/28 04:58:00 marc Exp $ */ +/* $OpenBSD: getrrsetbyname.c,v 1.7 2003/03/07 07:34:14 itojun Exp $ */ /* * Copyright (c) 2001 Jakob Schlyter. All rights reserved. @@ -103,7 +103,8 @@ getrrsetbyname(const char *hostname, unsigned int rdclass, struct dns_response *response; struct dns_rr *rr; struct rdatainfo *rdata; - unsigned int length, index_ans, index_sig; + int length; + unsigned int index_ans, index_sig; u_char answer[ANSWER_BUFFER_SIZE]; /* check for invalid class and type */ |