summaryrefslogtreecommitdiffstats
path: root/sys/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-04-27 18:38:25 +0000
committermillert <millert@openbsd.org>1998-04-27 18:38:25 +0000
commitcb78e3311189aef87ff31b498ea545e25ea59c5d (patch)
tree012a675fbea8804915749a5fe081f4c084843f7c /sys/lib
parentgrammar (diff)
downloadwireguard-openbsd-cb78e3311189aef87ff31b498ea545e25ea59c5d.tar.xz
wireguard-openbsd-cb78e3311189aef87ff31b498ea545e25ea59c5d.zip
Silence warning now that a_* is not long.
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/exec.c5
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;