diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 08:09:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 08:09:41 +0000 |
commit | 0bdc8e03d08d0255a31a0259b73ace70e8059d07 (patch) | |
tree | 40cfc1636a0c00bd80fcdcf96291df8cee33d5b0 /sys/lib/libsa/exec.c | |
parent | d54f35df45dfe6dd49418cdbe1ac7e66a07a11e9 (diff) |
from netbsd; 64-bit cleanup
Diffstat (limited to 'sys/lib/libsa/exec.c')
-rw-r--r-- | sys/lib/libsa/exec.c | 4 |
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 */ |