Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ipkdb Fix void * arithmetic.
details: https://anonhg.NetBSD.org/src/rev/98ced6bd1869
branches: trunk
changeset: 472691:98ced6bd1869
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue May 04 23:30:21 1999 +0000
description:
Fix void * arithmetic.
diffstat:
sys/ipkdb/ipkdb_ipkdb.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r a5ba17279338 -r 98ced6bd1869 sys/ipkdb/ipkdb_ipkdb.c
--- a/sys/ipkdb/ipkdb_ipkdb.c Tue May 04 20:50:35 1999 +0000
+++ b/sys/ipkdb/ipkdb_ipkdb.c Tue May 04 23:30:21 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipkdb_ipkdb.c,v 1.7 1997/08/21 11:26:42 ws Exp $ */
+/* $NetBSD: ipkdb_ipkdb.c,v 1.8 1999/05/04 23:30:21 thorpej Exp $ */
/*
* Copyright (C) 1993-1996 Wolfgang Solfrank.
@@ -402,7 +402,7 @@
for (i = 0; i < ((len >> 3)&7); *cp |= 1 << i++);
}
}
- ipkdbcopy(buf + ip->ip_hl * 4,
+ ipkdbcopy((caddr_t)buf + ip->ip_hl * 4,
ifp->ass + sizeof *ip + (off << 3),
len - (off << 3));
for (cp = ifp->assbit; cp < ifp->assbit + sizeof ifp->assbit;)
Home |
Main Index |
Thread Index |
Old Index