patch-1.3.7 linux/include/asm-i386/string.h
Next file: linux/include/linux/atalk.h
Previous file: linux/include/asm-i386/segment.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sun Jul 2 21:26:28 1995
- Orig file:
v1.3.6/linux/include/asm-i386/string.h
- Orig date:
Tue Jun 27 14:11:44 1995
diff -u --recursive --new-file v1.3.6/linux/include/asm-i386/string.h linux/include/asm-i386/string.h
@@ -365,17 +365,17 @@
case 0:
return to;
case 1:
- *(unsigned char *)to = *(unsigned char *)from;
+ *(unsigned char *)to = *(const unsigned char *)from;
return to;
case 2:
- *(unsigned short *)to = *(unsigned short *)from;
+ *(unsigned short *)to = *(const unsigned short *)from;
return to;
case 3:
- *(unsigned short *)to = *(unsigned short *)from;
- *(2+(unsigned char *)to) = *(2+(unsigned char *)from);
+ *(unsigned short *)to = *(const unsigned short *)from;
+ *(2+(unsigned char *)to) = *(2+(const unsigned char *)from);
return to;
case 4:
- *(unsigned long *)to = *(unsigned long *)from;
+ *(unsigned long *)to = *(const unsigned long *)from;
return to;
}
#define COMMON(x) \
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