patch-1.3.15 linux/arch/i386/math-emu/fpu_emu.h

Next file: linux/arch/i386/mm/fault.c
Previous file: linux/arch/i386/math-emu/errors.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/arch/i386/math-emu/fpu_emu.h linux/arch/i386/math-emu/fpu_emu.h
@@ -133,9 +133,9 @@
 
 
 #define reg_move(x, y) { \
-		 *(short *)&((y)->sign) = *(short *)&((x)->sign); \
-		 *(long *)&((y)->exp) = *(long *)&((x)->exp); \
-		 *(long long *)&((y)->sigl) = *(long long *)&((x)->sigl); }
+		 *(short *)&((y)->sign) = *(const short *)&((x)->sign); \
+		 *(long *)&((y)->exp) = *(const long *)&((x)->exp); \
+		 *(long long *)&((y)->sigl) = *(const long long *)&((x)->sigl); }
 
 #define significand(x) ( ((unsigned long long *)&((x)->sigl))[0] )
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this