summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/fpu/fpu_div.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/fpu/fpu_div.c')
-rw-r--r--sys/arch/sparc64/fpu/fpu_div.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/fpu/fpu_div.c b/sys/arch/sparc64/fpu/fpu_div.c
index dce066765c5..9e02cb57e03 100644
--- a/sys/arch/sparc64/fpu/fpu_div.c
+++ b/sys/arch/sparc64/fpu/fpu_div.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_div.c,v 1.2 2003/06/02 23:27:55 millert Exp $ */
+/* $OpenBSD: fpu_div.c,v 1.3 2013/11/26 20:33:15 deraadt Exp $ */
/* $NetBSD: fpu_div.c,v 1.2 1994/11/20 20:52:38 deraadt Exp $ */
/*
@@ -129,7 +129,7 @@
* } while ((bit >>= 1) != 0);
* Q[0] = q;
* for (i = 1; i < 4; i++) {
- * q = 0, bit = 1 << 31;
+ * q = 0, bit = 1U << 31;
* do {
* D = R - Y;
* if (D >= 0) {
@@ -228,7 +228,7 @@ fpu_div(fe)
#define WORD(r, i) /* calculate r->fp_mant[i] */ \
q = 0; \
- bit = 1 << 31; \
+ bit = 1U << 31; \
LOOP; \
(x)->fp_mant[i] = q