diff options
author | gclarkii <gclarkii@FreeBSD.org> | 1994-04-29 20:49:04 +0000 |
---|---|---|
committer | gclarkii <gclarkii@FreeBSD.org> | 1994-04-29 20:49:04 +0000 |
commit | 7d65ba7abd961168c71d1da8283b18cadc86fdbb (patch) | |
tree | d412f8e88d581256154e234641928bc82b5ad428 /sys | |
parent | 974f455df943449888119fe769d01c8f58692cb3 (diff) | |
download | FreeBSD-src-7d65ba7abd961168c71d1da8283b18cadc86fdbb.zip FreeBSD-src-7d65ba7abd961168c71d1da8283b18cadc86fdbb.tar.gz |
Added casts to keep gcc quiet.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/gnu/i386/fpemul/poly_tan.c | 8 |
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 b11630a..9f0eb69 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)); |