summaryrefslogtreecommitdiff
path: root/sys/i386/linux/linux_sysvec.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-08-16 01:21:52 +0000
committerBruce Evans <bde@FreeBSD.org>1998-08-16 01:21:52 +0000
commit86a14a7a0aa00514f670234d7da4fca666ef97b2 (patch)
tree15b6ec0d874d0adefec798c7746356bdd80ceb8c /sys/i386/linux/linux_sysvec.c
parent9d97be35113fa6aa1f070bb8fca7f5a78aeb46b2 (diff)
Notes
Diffstat (limited to 'sys/i386/linux/linux_sysvec.c')
-rw-r--r--sys/i386/linux/linux_sysvec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index 850263f9691b..67ed448cad98 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.30 1998/06/07 17:11:27 dfr Exp $
+ * $Id: linux_sysvec.c,v 1.31 1998/07/29 16:43:00 bde Exp $
*/
/* XXX we use functions that might not exist. */
@@ -126,11 +126,11 @@ linux_fixup(long **stack_base, struct image_params *imgp)
argv = *stack_base;
envp = *stack_base + (imgp->argc + 1);
(*stack_base)--;
- **stack_base = (long)envp;
+ **stack_base = (intptr_t)(void *)envp;
(*stack_base)--;
- **stack_base = (long)argv;
+ **stack_base = (intptr_t)(void *)argv;
(*stack_base)--;
- **stack_base = (long)imgp->argc;
+ **stack_base = imgp->argc;
return 0;
}