summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/exec.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1995-12-15 08:09:38 +0000
committerderaadt <deraadt@openbsd.org>1995-12-15 08:09:38 +0000
commit3a19b8d37d9bbe52bd79ed8e1bfc85d48376292b (patch)
tree8399100918bed35ca1e67ce4de19ed5f4e1a7a68 /sys/lib/libsa/exec.c
parentfrom gwr (diff)
downloadwireguard-openbsd-3a19b8d37d9bbe52bd79ed8e1bfc85d48376292b.tar.xz
wireguard-openbsd-3a19b8d37d9bbe52bd79ed8e1bfc85d48376292b.zip
from netbsd; 64-bit cleanup
Diffstat (limited to 'sys/lib/libsa/exec.c')
-rw-r--r--sys/lib/libsa/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/exec.c b/sys/lib/libsa/exec.c
index f4588485f66..32c87bb509a 100644
--- a/sys/lib/libsa/exec.c
+++ b/sys/lib/libsa/exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.c,v 1.10 1995/08/04 07:37:03 thorpej Exp $ */
+/* $NetBSD: exec.c,v 1.11 1995/10/20 00:47:47 cgd Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993
@@ -95,7 +95,7 @@ exec(path, loadaddr, howto)
goto shread;
addr += x.a_text;
if (N_GETMAGIC(x) == ZMAGIC || N_GETMAGIC(x) == NMAGIC)
- while ((int)addr & (N_PAGSIZ(x) - 1))
+ while ((long)addr & (N_PAGSIZ(x) - 1))
*addr++ = 0;
/* Data */