patch-2.4.19 linux-2.4.19/lib/string.c

Next file: linux-2.4.19/mm/Makefile
Previous file: linux-2.4.19/lib/rbtree.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/lib/string.c linux-2.4.19/lib/string.c
@@ -452,7 +452,7 @@
 int memcmp(const void * cs,const void * ct,size_t count)
 {
 	const unsigned char *su1, *su2;
-	signed char res = 0;
+	int res = 0;
 
 	for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
 		if ((res = *su1 - *su2) != 0)

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