silence compiler warnings

This commit is contained in:
Mark Andrews
2005-03-16 22:22:31 +00:00
parent 66a12302e1
commit b6b21d8045
9 changed files with 27 additions and 27 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone_test.c,v 1.29 2004/03/05 04:58:40 marka Exp $ */
/* $Id: zone_test.c,v 1.30 2005/03/16 22:22:31 marka Exp $ */
#include <config.h>
@@ -120,7 +120,7 @@ setup(const char *zonename, const char *filename, const char *classname) {
region.base = classname;
region.length = strlen(classname);
result = dns_rdataclass_fromtext(&rdclass,
(isc_textregion_t *)&region);
(isc_textregion_t *)(void*)&region);
ERRRET(result, "dns_rdataclass_fromtext");
dns_zone_setclass(zone, rdclass);
@@ -200,7 +200,7 @@ query(void) {
dns_zone_dumptostream(zone, stdout);
continue;
}
if (strlen(buf) == 0)
if (strlen(buf) == 0U)
continue;
dns_fixedname_init(&name);
isc_buffer_init(&buffer, buf, strlen(buf));