Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/bind/dist/lib/dns Make it compilable: avoid voi...
details: https://anonhg.NetBSD.org/src/rev/7c42c3dac56c
branches: trunk
changeset: 797179:7c42c3dac56c
user: martin <martin%NetBSD.org@localhost>
date: Tue Jul 08 09:08:05 2014 +0000
description:
Make it compilable: avoid void* arithmetic
diffstat:
external/bsd/bind/dist/lib/dns/rbt.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 1f520e42f86d -r 7c42c3dac56c external/bsd/bind/dist/lib/dns/rbt.c
--- a/external/bsd/bind/dist/lib/dns/rbt.c Tue Jul 08 07:04:07 2014 +0000
+++ b/external/bsd/bind/dist/lib/dns/rbt.c Tue Jul 08 09:08:05 2014 +0000
@@ -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 @@
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 {
Home |
Main Index |
Thread Index |
Old Index