Module Name:    src
Committed By:   martin
Date:           Tue Jul  8 09:08:05 UTC 2014

Modified Files:
        src/external/bsd/bind/dist/lib/dns: rbt.c

Log Message:
Make it compilable: avoid void* arithmetic


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/bind/dist/lib/dns/rbt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/bind/dist/lib/dns/rbt.c
diff -u src/external/bsd/bind/dist/lib/dns/rbt.c:1.7 src/external/bsd/bind/dist/lib/dns/rbt.c:1.8
--- src/external/bsd/bind/dist/lib/dns/rbt.c:1.7	Tue Jul  8 05:43:39 2014
+++ src/external/bsd/bind/dist/lib/dns/rbt.c	Tue Jul  8 09:08:05 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: rbt.c,v 1.7 2014/07/08 05:43:39 spz Exp $	*/
+/*	$NetBSD: rbt.c,v 1.8 2014/07/08 09:08:05 martin Exp $	*/
 
 /*
  * Copyright (C) 2004, 2005, 2007-2009, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
@@ -307,12 +307,13 @@ Name(dns_rbtnode_t *node) {
 static void printnodename(dns_rbtnode_t *node);
 
 static void
-hexdump(const char *desc, void *data, size_t size) {
+hexdump(const char *desc, void *blob, size_t size) {
 	char hexdump[BUFSIZ * 2 + 1];
 	isc_buffer_t b;
 	isc_region_t r;
 	isc_result_t result;
 	size_t bytes;
+	isc_uint8_t *data = blob;
 
 	fprintf(stderr, "%s: ", desc);
 	do {

Reply via email to