diff options
| author | rmind <rmind@NetBSD.org> | 2008-09-15 18:12:56 +0000 |
|---|---|---|
| committer | rmind <rmind@NetBSD.org> | 2008-09-15 18:12:56 +0000 |
| commit | ffb8ec88e152d7ff16b9db448561c4daa9941517 (patch) | |
| tree | 7be3f2c0522bed60e0e99283abe3297d62ff3d6e /sys/kern/exec_elf32.c | |
| parent | bcafaa6e90eca1c3ec490862820ddd6a522a6dd0 (diff) | |
Replace intptr_t with uintptr_t in few more places.
OK by <matt>.
Diffstat (limited to 'sys/kern/exec_elf32.c')
| -rw-r--r-- | sys/kern/exec_elf32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_elf32.c b/sys/kern/exec_elf32.c index 0d6992d8cdc..20505715dc5 100644 --- a/sys/kern/exec_elf32.c +++ b/sys/kern/exec_elf32.c @@ -1,4 +1,4 @@ -/* $NetBSD: exec_elf32.c,v 1.135 2008/07/18 21:29:48 christos Exp $ */ +/* $NetBSD: exec_elf32.c,v 1.136 2008/09/15 18:12:56 rmind Exp $ */ /*- * Copyright (c) 1994, 2000, 2005 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.135 2008/07/18 21:29:48 christos Exp $"); +__KERNEL_RCSID(1, "$NetBSD: exec_elf32.c,v 1.136 2008/09/15 18:12:56 rmind Exp $"); /* If not included by exec_elf64.c, ELFSIZE won't be defined. */ #ifndef ELFSIZE @@ -255,7 +255,7 @@ elf_copyargs(struct lwp *l, struct exec_package *pack, if (execname) { char *path = pack->ep_path; - execname->a_v = (intptr_t)(*stackp + vlen); + execname->a_v = (uintptr_t)(*stackp + vlen); len = strlen(path) + 1; if ((error = copyout(path, (*stackp + vlen), len)) != 0) return error; |
