diff options
author | gclarkii <gclarkii@FreeBSD.org> | 1994-04-29 20:58:52 +0000 |
---|---|---|
committer | gclarkii <gclarkii@FreeBSD.org> | 1994-04-29 20:58:52 +0000 |
commit | c33f55753b5f6de497e51af2dc1647046e640f96 (patch) | |
tree | 216a072e897b01d885cc8506810097dba4e6f76e | |
parent | 6fc7900329cb130d2d51279cc340f236cda81ffa (diff) | |
download | FreeBSD-src-c33f55753b5f6de497e51af2dc1647046e640f96.zip FreeBSD-src-c33f55753b5f6de497e51af2dc1647046e640f96.tar.gz |
Added casts to keep gcc quiet
-rw-r--r-- | sys/gnu/i386/fpemul/poly_l2.c | 2 | ||||
-rw-r--r-- | sys/gnu/i386/fpemul/poly_sin.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/gnu/i386/fpemul/poly_l2.c b/sys/gnu/i386/fpemul/poly_l2.c index fbb1ab0..b1f5f86 100644 --- a/sys/gnu/i386/fpemul/poly_l2.c +++ b/sys/gnu/i386/fpemul/poly_l2.c @@ -283,7 +283,7 @@ poly_l2p1(FPU_REG * arg, FPU_REG * result) poly_div16(&Xsq); /* Do the basic fixed point polynomial evaluation */ - polynomial(&(accum.sigl), (unsigned *) &Xsq, lterms, HIPOWER - 1); + polynomial((u_int *) &accum.sigl), (unsigned *) &Xsq, lterms, HIPOWER - 1); accum.tag = TW_Valid; /* set the tags to Valid */ accum.sign = SIGN_POS; /* and make accum positive */ diff --git a/sys/gnu/i386/fpemul/poly_sin.c b/sys/gnu/i386/fpemul/poly_sin.c index 6c5d04a..625f0b5 100644 --- a/sys/gnu/i386/fpemul/poly_sin.c +++ b/sys/gnu/i386/fpemul/poly_sin.c @@ -125,14 +125,14 @@ poly_sine(FPU_REG * arg, FPU_REG * result) accum.exp = 0; /* Do the basic fixed point polynomial evaluation */ - polynomial(&(accum.sigl), &(Xx4.sigl), lterms, HIPOWER - 1); + polynomial((u_int *) &(accum.sigl), &(Xx4.sigl), lterms, HIPOWER - 1); /* will be a valid positive nr with expon = 0 */ *(short *) &(negaccum.sign) = 0; negaccum.exp = 0; /* Do the basic fixed point polynomial evaluation */ - polynomial(&(negaccum.sigl), &(Xx4.sigl), negterms, HIPOWER - 1); + polynomial((u_int *) &(negaccum.sigl), &(Xx4.sigl), negterms, HIPOWER - 1); mul64((long long *) &(Xx2.sigl), (long long *) &(negaccum.sigl), (long long *) &(negaccum.sigl)); |