diff options
author | 2005-05-10 11:29:55 +0000 | |
---|---|---|
committer | 2005-05-10 11:29:55 +0000 | |
commit | 12c9c81cb7751db2ad75ec0a1689acc74e4fcdb0 (patch) | |
tree | cd1677d90b94098820bd41f15a7c954388fea607 | |
parent | set pcsq in case we get signal delivery once interrupted from the gateway page; from chs (diff) | |
download | wireguard-openbsd-12c9c81cb7751db2ad75ec0a1689acc74e4fcdb0.tar.xz wireguard-openbsd-12c9c81cb7751db2ad75ec0a1689acc74e4fcdb0.zip |
no reason to use long as we are most definately all 32bit
-rw-r--r-- | sys/arch/hppa/include/loadfile_machdep.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/include/loadfile_machdep.h b/sys/arch/hppa/include/loadfile_machdep.h index 88d67f0e947..dcf7b71f83f 100644 --- a/sys/arch/hppa/include/loadfile_machdep.h +++ b/sys/arch/hppa/include/loadfile_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: loadfile_machdep.h,v 1.2 2004/06/14 00:32:31 deraadt Exp $ */ +/* $OpenBSD: loadfile_machdep.h,v 1.3 2005/05/10 11:29:55 mickey Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ #ifdef _STANDALONE -#define LOADADDR(a) ((a) + offset) +#define LOADADDR(a) ((u_int)(a) + offset) #define ALIGNENTRY(a) 0 #define READ(f, b, c) pread((f), (void *)LOADADDR(b), (c)) #define BCOPY(s, d, c) vpbcopy((s), (void *)LOADADDR(d), (c)) @@ -64,8 +64,8 @@ #else -#define LOADADDR(a) (((u_long)(a)) + offset) -#define ALIGNENTRY(a) ((u_long)(a)) +#define LOADADDR(a) (((u_int)(a)) + offset) +#define ALIGNENTRY(a) ((u_int)(a)) #define READ(f, b, c) read((f), (void *)LOADADDR(b), (c)) #define BCOPY(s, d, c) memcpy((void *)LOADADDR(d), (void *)(s), (c)) #define BZERO(d, c) memset((void *)LOADADDR(d), 0, (c)) |