diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-05 06:06:17 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2004-01-05 06:06:17 +0000 |
commit | 71c77f6d81939a0f287254ac7340ef74481bd47c (patch) | |
tree | ef93f4e4e409125b1e4bdbf4b65f4fb1f0c137c0 /lib | |
parent | 5c2caca836c645123e9c26f5ecaa6df0a44eadc2 (diff) |
Use correct type for old values. No binary change.
ok mickey@ miod@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/hppa/gen/fpsetmask.c | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa/gen/fpsetsticky.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/hppa/gen/fpsetmask.c b/lib/libc/arch/hppa/gen/fpsetmask.c index f3f0096e5a5..804c2169ef8 100644 --- a/lib/libc/arch/hppa/gen/fpsetmask.c +++ b/lib/libc/arch/hppa/gen/fpsetmask.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetmask.c,v 1.3 2002/10/21 18:41:05 mickey Exp $ */ +/* $OpenBSD: fpsetmask.c,v 1.4 2004/01/05 06:06:16 otto Exp $ */ /* * Written by Miodrag Vallat. Public domain @@ -12,7 +12,7 @@ fpsetmask(mask) fp_except mask; { u_int64_t fpsr; - fp_rnd old; + fp_except old; __asm__ __volatile__("fstd %%fr0,0(%1)" : "=m"(fpsr) : "r"(&fpsr)); old = (fpsr >> 32) & 0x1f; diff --git a/lib/libc/arch/hppa/gen/fpsetsticky.c b/lib/libc/arch/hppa/gen/fpsetsticky.c index d23d194d203..eac7d3743f3 100644 --- a/lib/libc/arch/hppa/gen/fpsetsticky.c +++ b/lib/libc/arch/hppa/gen/fpsetsticky.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpsetsticky.c,v 1.3 2002/10/21 18:41:05 mickey Exp $ */ +/* $OpenBSD: fpsetsticky.c,v 1.4 2004/01/05 06:06:16 otto Exp $ */ /* * Written by Miodrag Vallat. Public domain @@ -12,7 +12,7 @@ fpsetsticky(mask) fp_except mask; { u_int64_t fpsr; - fp_rnd old; + fp_except old; __asm__ __volatile__("fstd %%fr0,0(%1)" : "=m" (fpsr) : "r" (&fpsr)); old = (fpsr >> 27) & 0x1f; |