Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common Force *stackp to (uintptr_t) before ...
details: https://anonhg.NetBSD.org/src/rev/f2cba5121455
branches: trunk
changeset: 338831:f2cba5121455
user: matt <matt%NetBSD.org@localhost>
date: Thu Jun 11 02:54:00 2015 +0000
description:
Force *stackp to (uintptr_t) before possibly moving to a smaller pointer size.
diffstat:
sys/compat/linux/common/linux_exec_elf32.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 030006075d0c -r f2cba5121455 sys/compat/linux/common/linux_exec_elf32.c
--- a/sys/compat/linux/common/linux_exec_elf32.c Wed Jun 10 23:16:27 2015 +0000
+++ b/sys/compat/linux/common/linux_exec_elf32.c Thu Jun 11 02:54:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec_elf32.c,v 1.92 2015/03/20 20:36:27 maxv Exp $ */
+/* $NetBSD: linux_exec_elf32.c,v 1.93 2015/06/11 02:54:00 matt Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.92 2015/03/20 20:36:27 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.93 2015/06/11 02:54:00 matt Exp $");
#ifndef ELFSIZE
/* XXX should die */
@@ -460,7 +460,7 @@
a++;
a->a_type = LINUX_AT_RANDOM;
- a->a_v = (Elf_Addr)*stackp;
+ a->a_v = (Elf_Addr)(uintptr_t)*stackp;
a++;
a->a_type = AT_NULL;
Home |
Main Index |
Thread Index |
Old Index