]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
more warningz
authorJelte Jansen <jelte@NLnetLabs.nl>
Tue, 28 Oct 2008 10:21:17 +0000 (10:21 +0000)
committerJelte Jansen <jelte@NLnetLabs.nl>
Tue, 28 Oct 2008 10:21:17 +0000 (10:21 +0000)
compat/snprintf.c
examples/ldns-compare-zones.c

index e3214dd7121edb6c64bbe2c915d5edf292dedd74..c668daea16b02cad52b27505fbeb3a50facdea90 100644 (file)
@@ -526,7 +526,7 @@ static long double abs_val (long double value)
   return result;
 }
 
-static long double pow10 (int exp)
+static double pow10 (double exp)
 {
   long double result = 1;
 
index 1a2d4ce2b39b04af7b49dc107f58b143e65c9fbb..80ab0c37abe0ed426162f95d87326835355d8881 100644 (file)
@@ -43,7 +43,7 @@ main(int argc, char **argv)
        ldns_status     s;
        size_t          i      , j;
        ldns_rr_list   *rrl1, *rrl2;
-       int             rr_cmp    , rr_chg;
+       int             rr_cmp, rr_chg = 0;
        ldns_rr        *rr1 = NULL, *rr2 = NULL, *rrx = NULL;
        int             line_nr1 = 0, line_nr2 = 0;
        size_t          rrc1   , rrc2;