diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-04-27 18:38:26 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-04-27 18:38:26 +0000 |
commit | 3ca17f74c09579d149ff2129fad8de6c3db52ddd (patch) | |
tree | e8728f51460bee8f6170c901371ff4f09129cfd0 /sys | |
parent | fa9e738824cc7e4ac17d411ea2ff00142014303a (diff) |
Silence warning now that a_* is not long.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/lib/libsa/exec.c | 5 |
1 files 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; |