summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/reg.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-09 18:55:23 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-09 18:55:23 +0000
commit7548c55007e361b876e5d71a16ace1c37d7baa68 (patch)
treebcd6f00aed694340890f1a3c094628dcb14e3a10 /sys/arch/alpha/include/reg.h
parente4937de5d9fdf39c64afccf2f9f0a5884fdd8dbe (diff)
Make quad types on alpha be "long long" not "long". This means that
printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.
Diffstat (limited to 'sys/arch/alpha/include/reg.h')
-rw-r--r--sys/arch/alpha/include/reg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/include/reg.h b/sys/arch/alpha/include/reg.h
index f7f9dcde9ed..4f0896553c0 100644
--- a/sys/arch/alpha/include/reg.h
+++ b/sys/arch/alpha/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.3 1996/10/30 22:39:25 niklas Exp $ */
+/* $OpenBSD: reg.h,v 1.4 2001/07/09 18:55:22 millert Exp $ */
/* $NetBSD: reg.h,v 1.2 1995/03/28 18:14:07 jtc Exp $ */
/*
@@ -74,7 +74,7 @@
#define R_ZERO 31
struct reg {
- u_int64_t r_regs[32];
+ u_long r_regs[32];
};
/*
@@ -87,8 +87,8 @@ struct reg {
* That array has to look exactly like 'struct reg' though.
*/
struct fpreg {
- u_int64_t fpr_regs[32];
- u_int64_t fpr_cr;
+ u_long fpr_regs[32];
+ u_long fpr_cr;
};
#ifdef _KERNEL