Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.19 /lib/string.c

Filename:/lib/string.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.19-rc5  2.4.19-rc4  2.4.19-rc3  2.4.19-rc2  2.4.19-rc1  2.4.19-pre10 
(Following) 2.4.28-pre1  2.4.28-pre2  2.4.28-pre3  2.4.28-pre4  2.4.28-rc1  2.4.28-rc2 

Location
[  2.4.19
  [  lib
     o  string.c

Patch

diff -urN linux-2.4.18/lib/string.c linux-2.4.19/lib/string.c
--- linux-2.4.18/lib/string.c   Fri Apr 27 14:35:50 2001
+++ linux-2.4.19/lib/string.c   Fri Aug  2 17:39:46 2002
@@ -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)


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.