Use (char *) on pointer arithmetic.
This commit is contained in:
parent
f498887b08
commit
b3b089f419
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: proc.h,v 1.11 2007/03/04 06:00:57 christos Exp $ */
|
||||
/* $NetBSD: proc.h,v 1.12 2007/12/22 08:29:40 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991 Regents of the University of California.
|
||||
@ -56,7 +56,7 @@ struct mdproc {
|
||||
|
||||
/* kernel stack params */
|
||||
#define KSTACK_LOWEST_ADDR(l) \
|
||||
((void *)(l)->l_addr + (REDZONEADDR + VAX_NBPG))
|
||||
((char *)(l)->l_addr + (REDZONEADDR + VAX_NBPG))
|
||||
#define KSTACK_SIZE \
|
||||
(USPACE - (REDZONEADDR + VAX_NBPG))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user