From c5587af506a53c80f523bf9402a72003afac4c65 Mon Sep 17 00:00:00 2001 From: Gary Clark II Date: Fri, 29 Apr 1994 20:49:04 +0000 Subject: [PATCH] Added casts to keep gcc quiet. --- sys/gnu/i386/fpemul/poly_tan.c | 8 ++++---- 1 file 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));