Added casts to keep gcc quiet

This commit is contained in:
Gary Clark II 1994-04-29 20:58:52 +00:00
parent e9453fbbc7
commit 8459b90f62
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -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));