summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-07-15 05:21:48 +0000
committerBruce Evans <bde@FreeBSD.org>1998-07-15 05:21:48 +0000
commitc2da0fd9036a52d66e8e6ba6cfa48e4ecfc3d395 (patch)
tree2b9d3b42ac7caebfcf82c23a6cd615ab8da317f4
parent7cd99438f8f358b71731e4636dbaa9f5a87b362d (diff)
Notes
-rw-r--r--sys/kern/init_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index ff5a0c5f15d5..c15e50a773c7 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.93 1998/05/28 09:30:15 phk Exp $
+ * $Id: init_main.c,v 1.94 1998/06/07 17:11:32 dfr Exp $
*/
#include "opt_devfs.h"
@@ -605,10 +605,10 @@ start_init(p)
/*
* Move out the arg pointers.
*/
- uap = (char **)((long)ucp & ~(NBPW-1));
- (void)suword((caddr_t)--uap, 0); /* terminator */
- (void)suword((caddr_t)--uap, (long)arg1);
- (void)suword((caddr_t)--uap, (long)arg0);
+ uap = (char **)((intptr_t)ucp & ~(NBPW-1));
+ (void)suword((caddr_t)--uap, (long)0); /* terminator */
+ (void)suword((caddr_t)--uap, (long)(intptr_t)arg1);
+ (void)suword((caddr_t)--uap, (long)(intptr_t)arg0);
/*
* Point at the arguments.