]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
signed/unsigned comparision
authorMark Andrews <marka@isc.org>
Fri, 30 Nov 2012 12:35:34 +0000 (23:35 +1100)
committerMark Andrews <marka@isc.org>
Fri, 30 Nov 2012 12:35:34 +0000 (23:35 +1100)
bin/dig/dig.c

index cbe3705963dcb9243cb04fbe4361265052ff7db3..203ed4eb9407caff35c62b33e43381e3b8af7002 100644 (file)
@@ -259,7 +259,7 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
                time(&tnow);
                tmnow  = *localtime(&tnow);
                if (strftime(time_str, sizeof(time_str),
-                            "%a %b %d %T %Z %Y", &tmnow) > 0)
+                            "%a %b %d %T %Z %Y", &tmnow) > 0U)
                        printf(";; WHEN: %s\n", time_str);
                if (query->lookup->doing_xfr) {
                        printf(";; XFR size: %u records (messages %u, "