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/isc paper over pointer aliasing p...
details: https://anonhg.NetBSD.org/src/rev/bcd615137eea
branches: trunk
changeset: 748499:bcd615137eea
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 25 20:53:43 2009 +0000
description:
paper over pointer aliasing problem
diffstat:
external/bsd/bind/dist/lib/isc/backtrace.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 131c656d30c2 -r bcd615137eea external/bsd/bind/dist/lib/isc/backtrace.c
--- a/external/bsd/bind/dist/lib/isc/backtrace.c Sun Oct 25 20:44:13 2009 +0000
+++ b/external/bsd/bind/dist/lib/isc/backtrace.c Sun Oct 25 20:53:43 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: backtrace.c,v 1.1.1.1 2009/10/25 00:02:42 christos Exp $ */
+/* $NetBSD: backtrace.c,v 1.2 2009/10/25 20:53:43 christos Exp $ */
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
@@ -187,7 +187,7 @@
* first argument. Note that the body of this function cannot be
* inlined since it depends on the address of the function argument.
*/
- sp = (void **)&addrs - 2;
+ sp = (void **)(void *)&addrs - 2;
#endif
while (sp != NULL && i < maxaddrs) {
Home |
Main Index |
Thread Index |
Old Index