]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence compiler
authorMark Andrews <marka@isc.org>
Thu, 16 Sep 2004 07:08:43 +0000 (07:08 +0000)
committerMark Andrews <marka@isc.org>
Thu, 16 Sep 2004 07:08:43 +0000 (07:08 +0000)
lib/bind/resolv/res_findzonecut.c

index dcc9f71f3df882cb9487dc37aaa080276570c084..7f053ab70dcce67152bd51c645aab2ed236b0977 100644 (file)
@@ -1,5 +1,5 @@
 #if !defined(lint) && !defined(SABER)
-static const char rcsid[] = "$Id: res_findzonecut.c,v 1.7 2004/03/18 02:58:01 marka Exp $";
+static const char rcsid[] = "$Id: res_findzonecut.c,v 1.8 2004/09/16 07:08:43 marka Exp $";
 #endif /* not lint */
 
 /*
@@ -360,8 +360,9 @@ get_soa(res_state statp, const char *dname, ns_class class, int opts,
                                abort();
                        }
                        if (strlen(t) + 1 > zsize) {
-                               DPRINTF(("get_soa: zname(%d) too small (%d)",
-                                        zsize, strlen(t) + 1));
+                               DPRINTF(("get_soa: zname(%lu) too small (%lu)",
+                                        (unsigned long)zsize,
+                                        (unsigned long)strlen(t) + 1));
                                errno = EMSGSIZE;
                                goto cleanup;
                        }