OSDN Git Service

string: Fix wrong comparison semantics
authorBruce Beare <bruce.j.beare@intel.com>
Tue, 25 Oct 2011 09:06:09 +0000 (13:06 +0400)
committerJean-Baptiste Queru <jbq@google.com>
Tue, 6 Dec 2011 02:37:10 +0000 (18:37 -0800)
commitcb1df9161666db2a312814752de67fc623149a9b
treeaa6db13b060299aad917d756bce73d0c84306a4d
parent89d3fdcae26980bf81a4622c3c83e48ead4c1c3a
string: Fix wrong comparison semantics

Chars are signed for x86 -- correct the comparison semantics.

Change-Id: I2049e98eb063c0b4e83ea973d3fcae49c6817dde
Author: Liubov Dmitrieva <liubov.dmitrieva@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
libc/string/index.c
libc/string/memrchr.c
libc/string/strchr.c
libc/string/strrchr.c