Module Name:    src
Committed By:   riz
Date:           Thu Jan  6 23:46:13 UTC 2011

Modified Files:
        src/dist/bind/lib/isc [netbsd-5]: backtrace.c

Log Message:
Apply revision 1.2 of external/bsd/bind/dist/lib/isc/backtrace.c, to
fix pullup ticket #1517.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/dist/bind/lib/isc/backtrace.c

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

Modified files:

Index: src/dist/bind/lib/isc/backtrace.c
diff -u src/dist/bind/lib/isc/backtrace.c:1.1.2.1 src/dist/bind/lib/isc/backtrace.c:1.1.2.2
--- src/dist/bind/lib/isc/backtrace.c:1.1.2.1	Thu Jan  6 21:41:58 2011
+++ src/dist/bind/lib/isc/backtrace.c	Thu Jan  6 23:46:13 2011
@@ -1,4 +1,4 @@
-/*        $NetBSD: backtrace.c,v 1.1.2.1 2011/01/06 21:41:58 riz Exp $      */
+/*        $NetBSD: backtrace.c,v 1.1.2.2 2011/01/06 23:46:13 riz 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) {

Reply via email to