]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
lint
authorJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 10 Nov 2005 08:53:31 +0000 (08:53 +0000)
committerJelte Jansen <jeltejan@NLnetLabs.nl>
Thu, 10 Nov 2005 08:53:31 +0000 (08:53 +0000)
host2str.c

index d4abd97cd5ca40958f140b1cb04f551761ce7255..f4b68af9c48647400c1f21e25ff91a462f8f4bf5 100644 (file)
@@ -112,7 +112,7 @@ ldns_rdf2buffer_str_dname(ldns_buffer *output, ldns_rdf *dname)
                                {
                                        ldns_buffer_printf(output, "\\%c", data[src_pos]);
                                        /* isprint!? */
-                               } else if (!isprint(data[src_pos])) {
+                               } else if (!isprint((int) data[src_pos])) {
                                        ldns_buffer_printf(output, "\\%03u", data[src_pos]);
                                } else {
                                        ldns_buffer_printf(output, "%c", data[src_pos]);