patch-2.4.20 linux-2.4.20/arch/mips/math-emu/dp_sqrt.c

Next file: linux-2.4.20/arch/mips/math-emu/dp_sub.c
Previous file: linux-2.4.20/arch/mips/math-emu/dp_mul.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/mips/math-emu/dp_sqrt.c linux-2.4.20/arch/mips/math-emu/dp_sqrt.c
@@ -99,7 +99,7 @@
 	yh = y.bits >> 32;
 	yh = (yh >> 1) + 0x1ff80000;
 	yh = yh - table[(yh >> 15) & 31];
-	y.bits = ((unsigned long long) yh << 32) | (y.bits & 0xffffffff);
+	y.bits = ((u64) yh << 32) | (y.bits & 0xffffffff);
 
 	/* Heron's rule once with correction to improve to ~18 sig. bits */
 	/* t=x/y; y=y+t; py[n0]=py[n0]-0x00100006; py[n1]=0; */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)