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

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

diff -urN linux-2.4.19/arch/mips/math-emu/dp_fsp.c linux-2.4.20/arch/mips/math-emu/dp_fsp.c
@@ -44,7 +44,7 @@
 	case IEEE754_CLASS_QNAN:
 		return ieee754dp_nanxcpt(builddp(xs,
 						 DP_EMAX + 1 + DP_EBIAS,
-						 ((unsigned long long) xm
+						 ((u64) xm
 						  << (DP_MBITS -
 						      SP_MBITS))), "fsp",
 					 x);
@@ -70,5 +70,5 @@
 	xm &= ~SP_HIDDEN_BIT;
 
 	return builddp(xs, xe + DP_EBIAS,
-		       (unsigned long long) xm << (DP_MBITS - SP_MBITS));
+		       (u64) xm << (DP_MBITS - SP_MBITS));
 }

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