aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/i386/fpemul
diff options
context:
space:
mode:
authorGary Clark II <gclarkii@FreeBSD.org>1994-04-29 20:49:04 +0000
committerGary Clark II <gclarkii@FreeBSD.org>1994-04-29 20:49:04 +0000
commitc5587af506a53c80f523bf9402a72003afac4c65 (patch)
treed412f8e88d581256154e234641928bc82b5ad428 /sys/gnu/i386/fpemul
parent2818133a84999f29b679569ba08e0cb3894742cc (diff)
downloadsrc-c5587af506a53c80f523bf9402a72003afac4c65.tar.gz
src-c5587af506a53c80f523bf9402a72003afac4c65.zip
Added casts to keep gcc quiet.
Notes
Notes: svn path=/head/; revision=1423
Diffstat (limited to 'sys/gnu/i386/fpemul')
-rw-r--r--sys/gnu/i386/fpemul/poly_tan.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/gnu/i386/fpemul/poly_tan.c b/sys/gnu/i386/fpemul/poly_tan.c
index b11630af878f..9f0eb6963f9f 100644
--- a/sys/gnu/i386/fpemul/poly_tan.c
+++ b/sys/gnu/i386/fpemul/poly_tan.c
@@ -145,14 +145,14 @@ poly_tan(FPU_REG * arg, FPU_REG * y_reg)
pos_poly.exp = EXP_BIAS;
/* Do the basic fixed point polynomial evaluation */
- polynomial(&pos_poly.sigl, (unsigned *) &argSqSq, oddplterms, HIPOWERop - 1);
+ polynomial((u_int *) &pos_poly.sigl, (unsigned *) &argSqSq, oddplterms, HIPOWERop - 1);
/* will be a valid positive nr with expon = 0 */
*(short *) &(neg_poly.sign) = 0;
neg_poly.exp = EXP_BIAS;
/* Do the basic fixed point polynomial evaluation */
- polynomial(&neg_poly.sigl, (unsigned *) &argSqSq, oddnegterms, HIPOWERon - 1);
+ polynomial((u_int *) &neg_poly.sigl, (unsigned *) &argSqSq, oddnegterms, HIPOWERon - 1);
mul64((long long *) (&argSq.sigl), (long long *) (&neg_poly.sigl),
(long long *) (&neg_poly.sigl));
@@ -175,7 +175,7 @@ poly_tan(FPU_REG * arg, FPU_REG * y_reg)
pos_poly.exp = EXP_BIAS;
/* Do the basic fixed point polynomial evaluation */
- polynomial(&pos_poly.sigl, (unsigned *) &argSqSq, evenplterms, HIPOWERep - 1);
+ polynomial((u_int *) &pos_poly.sigl, (unsigned *) &argSqSq, evenplterms, HIPOWERep - 1);
mul64((long long *) (&argSq.sigl),
(long long *) (&pos_poly.sigl), (long long *) (&pos_poly.sigl));
@@ -184,7 +184,7 @@ poly_tan(FPU_REG * arg, FPU_REG * y_reg)
neg_poly.exp = EXP_BIAS;
/* Do the basic fixed point polynomial evaluation */
- polynomial(&neg_poly.sigl, (unsigned *) &argSqSq, evennegterms, HIPOWERen - 1);
+ polynomial((u_int *) &neg_poly.sigl, (unsigned *) &argSqSq, evennegterms, HIPOWERen - 1);
/* Subtract the mantissas */
*((long long *) (&neg_poly.sigl)) -= *((long long *) (&pos_poly.sigl));