patch-2.3.16 linux/include/asm-i386/uaccess.h
Next file: linux/include/asm-m68k/hwtest.h
Previous file: linux/include/asm-i386/system.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Aug 31 16:12:08 1999
- Orig file:
v2.3.15/linux/include/asm-i386/uaccess.h
- Orig date:
Wed Aug 18 16:43:40 1999
diff -u --recursive --new-file v2.3.15/linux/include/asm-i386/uaccess.h linux/include/asm-i386/uaccess.h
@@ -42,7 +42,7 @@
unsigned long flag,sum; \
asm("addl %3,%1 ; sbbl %0,%0; cmpl %1,%4; sbbl $0,%0" \
:"=&r" (flag), "=r" (sum) \
- :"1" (addr),"g" (size),"g" (current->addr_limit.seg)); \
+ :"1" (addr),"g" ((int)(size)),"g" (current->addr_limit.seg)); \
flag; })
#ifdef CONFIG_X86_WP_WORKS_OK
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)