From 3ca17f74c09579d149ff2129fad8de6c3db52ddd Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 27 Apr 1998 18:38:26 +0000 Subject: Silence warning now that a_* is not long. --- sys/lib/libsa/exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c index f3f08f57e6f..a6ce11dd83e 100644 --- a/sys/lib/libsa/exec.c +++ b/sys/lib/libsa/exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.c,v 1.20 1998/04/25 18:31:58 millert Exp $ */ +/* $OpenBSD: exec.c,v 1.21 1998/04/27 18:38:25 millert Exp $ */ /* $NetBSD: exec.c,v 1.15 1996/10/13 02:29:01 christos Exp $ */ /*- @@ -171,7 +171,8 @@ exec(path, loadaddr, howto) getchar(); #endif - machdep_start((char *)x.a_entry, howto, loadaddr, ssym, esym); + machdep_start((char *)((register_t)x.a_entry), howto, loadaddr, ssym, + esym); /* exec failed */ errno = ENOEXEC; -- cgit v1.2.3