]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a type mismatch in calls to res_nsend*.
authorTed Lemon <source@isc.org>
Wed, 17 Jan 2001 08:23:37 +0000 (08:23 +0000)
committerTed Lemon <source@isc.org>
Wed, 17 Jan 2001 08:23:37 +0000 (08:23 +0000)
minires/res_sendsigned.c
minires/res_update.c

index 1c0c441fb5b51d33a9a032f757f61361bac3c651..3ed456d0a866b8ae5f5f6acec639a55904b6e875 100644 (file)
@@ -32,7 +32,7 @@ res_nsendsigned(res_state statp,
        u_char sig[64];
        HEADER *hp;
        time_t tsig_time;
-       int ret;
+       unsigned ret;
        isc_result_t rcode;
 
        dst_init();
index d7e4c8820a3bf01cd457132c2105068d0b35c841..ffc384ab52c7caf3a33997b7089ed3cbcd9b344a 100644 (file)
@@ -1,5 +1,5 @@
 #if !defined(lint) && !defined(SABER)
-static const char rcsid[] = "$Id: res_update.c,v 1.10 2001/01/16 22:33:18 mellon Exp $";
+static const char rcsid[] = "$Id: res_update.c,v 1.11 2001/01/17 08:22:20 mellon Exp $";
 #endif /* not lint */
 
 /*
@@ -84,7 +84,7 @@ res_nupdate(res_state statp, ns_updrec *rrecp_in) {
        struct zonegrp *zptr, tgrp;
        int nzones = 0, nscount = 0;
        unsigned n;
-       int rval;
+       unsigned rval;
        struct sockaddr_in nsaddrs[MAXNS];
        ns_tsig_key *key;
        void *zcookie = 0;